Date: Fri, 11 Sep 2009 06:10:03 GMT From: Remko Lodder <remko@elvandar.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/138692: 450.status-security should exit with rc=0 Message-ID: <200909110610.n8B6A3in050119@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/138692; it has been noted by GNATS.
From: Remko Lodder <remko@elvandar.org>
To: Benjamin Lee <ben@b1c1l1.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: conf/138692: 450.status-security should exit with rc=0
Date: Fri, 11 Sep 2009 07:20:23 +0200
>
>> Description:
> /etc/periodic/daily/450.status-security sets rc=3 when
> daily_status_security_enable="YES". According to periodic(8), this
> means that the output "must not be masked." However, this script
> only prints a single message or even nothing at all:
>
> case "${daily_status_security_output}" in
> "")
> ;;
> /*)
> echo " (output logged separately)";;
> *)
> echo " (output mailed separately)";;
> esac;;
>
> Please apply the attached patch to set rc=0, to indicate that there
> is "nothing notable" in the output.
This informs you that a security script had been runned and will
report it's output via a different email (standard).
If you configure it to not be enabled at all; it wil tell you nothing.
If you select the other option it will be logged via
a different way.
I do not see the arugments you are proposing. I think the current
output is just fine, when I read my daily email
and see that there is additional output seperately; I will read that
seperate email.
--
/"\ Best regards, | remko@FreeBSD.org
\ / Remko Lodder | remko@EFnet
X http://www.evilcoder.org/ |
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909110610.n8B6A3in050119>
