From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 10 06:10:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 443181065676 for ; Thu, 10 Sep 2009 06:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 21FBA8FC18 for ; Thu, 10 Sep 2009 06:10:02 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8A6A2cj067784 for ; Thu, 10 Sep 2009 06:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8A6A2bA067783; Thu, 10 Sep 2009 06:10:02 GMT (envelope-from gnats) Resent-Date: Thu, 10 Sep 2009 06:10:02 GMT Resent-Message-Id: <200909100610.n8A6A2bA067783@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Benjamin Lee Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7D3C1065676 for ; Thu, 10 Sep 2009 06:04:12 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C78148FC16 for ; Thu, 10 Sep 2009 06:04:12 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8A64CJi069398 for ; Thu, 10 Sep 2009 06:04:12 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n8A64C4e069397; Thu, 10 Sep 2009 06:04:12 GMT (envelope-from nobody) Message-Id: <200909100604.n8A64C4e069397@www.freebsd.org> Date: Thu, 10 Sep 2009 06:04:12 GMT From: Benjamin Lee To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/138692: 450.status-security should exit with rc=0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Sep 2009 06:10:02 -0000 >Number: 138692 >Category: conf >Synopsis: 450.status-security should exit with rc=0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 10 06:10:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Benjamin Lee >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD eclipse.b1c1l1.com 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:57:44 UTC 2009 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >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. >How-To-Repeat: Set daily_status_security_enable="YES" and run 'periodic daily'. >Fix: Patch is attached. Patch attached with submission follows: --- 450.status-security.orig 2009-09-09 22:45:13.000000000 -0700 +++ 450.status-security 2009-09-09 22:45:21.000000000 -0700 @@ -32,7 +32,7 @@ esac periodic security - rc=3;; + rc=0;; *) rc=0;; esac >Release-Note: >Audit-Trail: >Unformatted: