[Bug 197705] Periodic configuration prints unneeded header when show_sucess="no"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 21 20:32:24 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197705

Jeremie Le Hen <jlh at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-bugs at FreeBSD.org    |jlh at FreeBSD.org
                 CC|                            |jlh at FreeBSD.org

--- Comment #1 from Jeremie Le Hen <jlh at FreeBSD.org> ---
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.


More information about the freebsd-bugs mailing list