Skip site navigation (1)Skip section navigation (2)
Date:      Mon,  8 Sep 2003 07:19:25 +0900 (JST)
From:      KIMURA Yasuhiro <yasu@utahime.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56578: security/logcheck: /var/log/security should be added to input files
Message-ID:  <20030907221925.7BD0354BB@eastasia.home.utahime.org>
Resent-Message-ID: <200309072220.h87MKDUI082251@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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