From owner-freebsd-bugs@freebsd.org Mon Dec 21 20:32:24 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 821DFA4FFEB for ; Mon, 21 Dec 2015 20:32:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F3291CA1 for ; Mon, 21 Dec 2015 20:32:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tBLKWO1q023194 for ; Mon, 21 Dec 2015 20:32:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197705] Periodic configuration prints unneeded header when show_sucess="no" Date: Mon, 21 Dec 2015 20:32:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jlh@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jlh@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2015 20:32:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197705 Jeremie Le Hen changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |jlh@FreeBSD.org CC| |jlh@FreeBSD.org --- Comment #1 from Jeremie Le Hen --- Hi Frank, This is not straightforward to do so because as you can see on the URL below this message is printed before calling periodic(8) again for security: https://svnweb.freebsd.org/base/head/etc/periodic/daily/450.status-security?view=markup So there are two solutions: 1. remove this message altogether; this is problematic if the security output is inlined 2. print only this message if there is any output from periodic security; but this requires to bufferize the whole output and then print the caption only if the output is not empty I would favor 2 but it's a bit hackish and heavyweight for the purpose. Let this bug bake a bit to see if others have some input. -- You are receiving this mail because: You are the assignee for the bug.