ports/56578: security/logcheck: /var/log/security should be added to input files
KIMURA Yasuhiro
yasu at utahime.org
Sun Sep 7 22:20:15 UTC 2003
>Number: 56578
>Category: ports
>Synopsis: security/logcheck: /var/log/security should be added to input files
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Sep 07 15:20:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: KIMURA Yasuhiro
>Release: FreeBSD 4.8-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD eastasia.home.utahime.org 4.8-RELEASE-p4 FreeBSD 4.8-RELEASE-p4 #0: Wed Aug 27 09:59:27 JST 2003 yasu at eastasia.home.utahime.org:/usr/obj/usr1/cvsup/releng_4_8/src/sys/EASTASIA i386
>Description:
Log messages from security subsystems, such as ipfw, are written to
/var/log/security by default. So it should be added to input files.
>How-To-Repeat:
>Fix:
--- logcheck.patch begins here ---
diff -Nru security/logcheck.dist/files/patch-systems:freebsd:logcheck.sh security/logcheck/files/patch-systems:freebsd:logcheck.sh
--- security/logcheck.dist/files/patch-systems:freebsd:logcheck.sh Thu Jan 1 09:00:00 1970
+++ security/logcheck/files/patch-systems:freebsd:logcheck.sh Mon Sep 8 06:59:41 2003
@@ -0,0 +1,10 @@
+--- systems/freebsd/logcheck.sh.dist Mon Nov 1 00:07:29 1999
++++ systems/freebsd/logcheck.sh Mon Sep 8 06:56:37 2003
+@@ -173,6 +173,7 @@
+ # FreeBSD 2.x
+ $LOGTAIL /var/log/messages > $TMPDIR/check.$$
+ $LOGTAIL /var/log/maillog >> $TMPDIR/check.$$
++$LOGTAIL /var/log/security >> $TMPDIR/check.$$
+
+ # BSDI 2.x
+ #$LOGTAIL /var/log/messages > $TMPDIR/check.$$
--- logcheck.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list