Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 16:53:46 +0100
From:      Thomas Quinot <thomas@FreeBSD.ORG>
To:        Mike Jakubik <mikej@trigger.net>
Cc:        Kenneth W Cochran <kwc@TheWorld.com>, freebsd-stable@freebsd.org
Subject:   Re: Change in daily security run in -stable
Message-ID:  <20021115155346.GA44832@melusine.cuivre.fr.eu.org>
In-Reply-To: <NBEDKOIFDHANCGFLAGKFOEDHDBAA.mikej@trigger.net>
References:  <200211151434.JAA74437113@shell.TheWorld.com> <NBEDKOIFDHANCGFLAGKFOEDHDBAA.mikej@trigger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 2002-11-15, Mike Jakubik écrivait :

> Not only that, I am getting errors on the passwordless account run, this is
> FreeBSD 4.7-STABLE #0: Thu Nov 14 13:19:18 EST 2002. This worked fine before
> the cvsup.

Actually this is an artifact of one of the scripts running after
400.passwdless, which was not modified.

Please try the patch below.

Thomas.

Index: security.functions
===================================================================
RCS file: /home/ncvs/src/etc/periodic/security/security.functions,v
retrieving revision 1.1
diff -u -r1.1 security.functions
--- security.functions	25 Oct 2002 15:14:16 -0000	1.1
+++ security.functions	15 Nov 2002 15:48:42 -0000
@@ -63,7 +63,7 @@
     cp ${tmpf} ${LOG}/${label}.today || rc=3
   fi
 
-  if ! cmp ${LOG}/${label}.today ${tmpf} >/dev/null; then
+  if ! cmp -s ${LOG}/${label}.today ${tmpf} >/dev/null; then
     [ $rc -lt 1 ] && rc=1
     echo ""
     echo "${msg}"

-- 
    Thomas.Quinot@Cuivre.FR.EU.ORG

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021115155346.GA44832>