conf/138692: 450.status-security should exit with rc=0

Remko Lodder remko at elvandar.org
Fri Sep 11 06:10:04 UTC 2009


The following reply was made to PR conf/138692; it has been noted by GNATS.

From: Remko Lodder <remko at elvandar.org>
To: Benjamin Lee <ben at b1c1l1.com>
Cc: freebsd-gnats-submit at 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 at FreeBSD.org
 \ /   Remko Lodder                      | remko at EFnet
 X    http://www.evilcoder.org/    |
 / \   ASCII Ribbon Campaign    | Against HTML Mail and News
 


More information about the freebsd-bugs mailing list