Daniel Pittman
2004-Jun-08 08:18 UTC
[Logcheck-devel] Bug#253260: logcheck: searches wrong directory for violations-ignore.d
Package: logcheck Version: 1.2.22 Severity: important Logcheck keeps crashing for me, because it can't find the 'sudo' ignore file it searches for. This looks like a typo in the code, fixed by this patch: --- logcheck.orig 2004-06-08 18:17:40.000000000 +1000 +++ logcheck 2004-06-08 18:17:58.000000000 +1000 @@ -302,7 +302,7 @@ debug "Cleaning logcheck" # Remove any entries already reported - for file in $(ls $raise/ | grep -v '^logcheck') ; do + for file in $(ls $ignore/ | grep -v '^logcheck') ; do debug "Cleaning logcheck: $file" cleanchecked "$ignore/$file" done Daniel -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.7-rc2-enki Locale: LANG=C, LC_CTYPE=C Versions of packages logcheck depends on: ii adduser 3.56 Add and remove users and groups ii cron 3.0pl1-83 management of regular background p ii debconf [debconf-2.0] 1.4.27 Debian configuration management sy ii debianutils 2.8.2 Miscellaneous utilities specific t ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-database 1.2.22 A database of system log rules for ii logtail 1.2.22 Print log file lines that have not ii mailutils [mailx] 1:0.4+20040601-1 GNU mailutils utilities for handli ii perl 5.8.4-2 Larry Wall's Practical Extraction ii postfix [mail-transport 2.1.1-3 A high-performance mail transport ii sysklogd [system-log-da 1.4.1-14 System Logging Daemon -- debconf information: * logcheck/noroot: logcheck/changes: * logcheck/install-note: -- The true believer is eternally incomplete, eternally insecure. -- Eric Hoffer
maks attems
2004-Jun-08 16:27 UTC
Bug#253260: [Logcheck-devel] Bug#253260: logcheck: searches wrong directory for violations-ignore.d
hello daniel, On Tue, 08 Jun 2004, Daniel Pittman wrote:> Logcheck keeps crashing for me, because it can't find the 'sudo' ignore > file it searches for. This looks like a typo in the code, fixed by this > patch:the bug you are naming is already reported twice at bts: http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=logcheck your patch is quite near to the real fix, but wrong. please take a look at #252966. fix will be upgraded soon to sid. a++ maks -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20040608/d9dc5a3b/attachment.pgp
Debian Bug Tracking System
2004-Jun-10 09:03 UTC
[Logcheck-devel] Bug#253260: marked as done (logcheck: searches wrong directory for violations-ignore.d)
Your message dated Thu, 10 Jun 2004 04:47:03 -0400 with message-id <E1BYLDD-0006TF-00 at newraff.debian.org> and subject line Bug#253260: fixed in logcheck 1.2.22a has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 8 Jun 2004 08:19:03 +0000>From daniel at rimspace.net Tue Jun 08 01:19:03 2004Return-path: <daniel at rimspace.net> Received: from 203-217-29-35.perm.iinet.net.au (anu.rimspace.net) [203.217.29.35] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BXbp1-0002Z8-00; Tue, 08 Jun 2004 01:19:03 -0700 Received: by anu.rimspace.net (Postfix, from userid 10) id 86AFD4BB48; Tue, 8 Jun 2004 18:18:57 +1000 (EST) Received: by enki.rimspace.net (Postfix, from userid 1000) id 63EC11508E3; Tue, 8 Jun 2004 18:18:51 +1000 (EST) From: Daniel Pittman <daniel at rimspace.net> To: Debian Bug Tracking System <submit at bugs.debian.org> Subject: logcheck: searches wrong directory for violations-ignore.d X-Debbugs-CC: Daniel Pittman <daniel at rimspace.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABNQ1V2fJRwboa5 t6lhXHeMlJ0YFRbc2cL7+uAVDDkqAAACZUlEQVR4nFXTv3ObMBQHcO46eLXqyuzi4LqCIrerW4WD UVbkzBVESTarOR9zLiQn5ro59N9WhJ9lMaePvu9ZwPM8zxOCCCG4ELj7BT7wvf4ipJMks/Zy18sA 3C1z/Gjd1YZMMDACxliQr8Y0nRDBtB5AYIGPNTVdxL4LKNgAUODdVUqbD7B3TsaESFIZjfDH9R+B HMIAZ00vLWETYJQQVJqp1ghEICK4ooO8zpBId+YyGxLvmI/nSFCChRq7X/gECCFOSjpEWoFnCPgx M/0Ju8MPEEQycC2GdWvxlFDS9S7VDve15uYoSPh1Capt/xyLMYEkijcgYmtdb4V7K0WwAKAPx0Lk PlD5/4lKQ7rfNHvAr9qfMwSxfjL1PTR/fcjzOYFcqS/mB9yY+lel87kHCgTY0nuwMVla6AeJFgA3 an3SuGzs/hGNcJCEQBF7ngaFsS9mAiRhCJn7yioNMvuSzoAgEuzkecDXmX2VC8Dub3nemZx0bp+X cECuki7r21XePicTqPAzcpW0Bt9Wubk/oGgAGT5FXQvXfZXVbJEonrqEd/JWPn3jaAHngFVrd7fS WeoCagSpkajWK+2vzlS5gBxBAUT0eqP2nzY0RUqpBTAd31D6e0tTNYMs/ISdCafXxxv6tgB1d5vE kNMiojfZe7QAGaPQTU9J6S6/LBJlKmUIE7yjlGZWlTNQqmIAiRP3ot4e0nQAtzENGXC16tJ97OVF LSAgXGWm7oa9tlPCUIn4zs1zmnfzYesB3M4Uhbykpmz6WRjAdCDdFBaPbWvNEoyMFGPVd9s2Dpol IBVD0G3+mAS3+A/7Wh8nJqB5AwAAAABJRU5ErkJggg=Date: Tue, 08 Jun 2004 18:18:50 +1000 Message-ID: <87fz96qx79.fsf at enki.rimspace.net> User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Delivered-To: submit at bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE, X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: Package: logcheck Version: 1.2.22 Severity: important Logcheck keeps crashing for me, because it can't find the 'sudo' ignore file it searches for. This looks like a typo in the code, fixed by this patch: --- logcheck.orig 2004-06-08 18:17:40.000000000 +1000 +++ logcheck 2004-06-08 18:17:58.000000000 +1000 @@ -302,7 +302,7 @@ debug "Cleaning logcheck" # Remove any entries already reported - for file in $(ls $raise/ | grep -v '^logcheck') ; do + for file in $(ls $ignore/ | grep -v '^logcheck') ; do debug "Cleaning logcheck: $file" cleanchecked "$ignore/$file" done Daniel -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.7-rc2-enki Locale: LANG=C, LC_CTYPE=C Versions of packages logcheck depends on: ii adduser 3.56 Add and remove users and groups ii cron 3.0pl1-83 management of regular background p ii debconf [debconf-2.0] 1.4.27 Debian configuration management sy ii debianutils 2.8.2 Miscellaneous utilities specific t ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-database 1.2.22 A database of system log rules for ii logtail 1.2.22 Print log file lines that have not ii mailutils [mailx] 1:0.4+20040601-1 GNU mailutils utilities for handli ii perl 5.8.4-2 Larry Wall's Practical Extraction ii postfix [mail-transport 2.1.1-3 A high-performance mail transport ii sysklogd [system-log-da 1.4.1-14 System Logging Daemon -- debconf information: * logcheck/noroot: logcheck/changes: * logcheck/install-note: -- The true believer is eternally incomplete, eternally insecure. -- Eric Hoffer --------------------------------------- Received: (at 253260-close) by bugs.debian.org; 10 Jun 2004 08:53:19 +0000>From katie at ftp-master.debian.org Thu Jun 10 01:53:19 2004Return-path: <katie at ftp-master.debian.org> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BYLJH-0002jj-00; Thu, 10 Jun 2004 01:53:19 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1BYLDD-0006TF-00; Thu, 10 Jun 2004 04:47:03 -0400 From: Todd Troxell <ttroxell at debian.org> To: 253260-close at bugs.debian.org X-Katie: $Revision: 1.49 $ Subject: Bug#253260: fixed in logcheck 1.2.22a Message-Id: <E1BYLDD-0006TF-00 at newraff.debian.org> Sender: Archive Administrator <katie at ftp-master.debian.org> Date: Thu, 10 Jun 2004 04:47:03 -0400 Delivered-To: 253260-close at bugs.debian.org X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Score: 3 Source: logcheck Source-Version: 1.2.22a We believe that the bug you reported is fixed in the latest version of logcheck, which is due to be installed in the Debian FTP archive: logcheck-database_1.2.22a_all.deb to pool/main/l/logcheck/logcheck-database_1.2.22a_all.deb logcheck_1.2.22a.dsc to pool/main/l/logcheck/logcheck_1.2.22a.dsc logcheck_1.2.22a.tar.gz to pool/main/l/logcheck/logcheck_1.2.22a.tar.gz logcheck_1.2.22a_all.deb to pool/main/l/logcheck/logcheck_1.2.22a_all.deb logtail_1.2.22a_all.deb to pool/main/l/logcheck/logtail_1.2.22a_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 253260 at bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Todd Troxell <ttroxell at debian.org> (supplier of updated logcheck package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster at debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Thursday, 10 Jun 2004 04:18:23 -0500 Source: logcheck Binary: logcheck logtail logcheck-database Architecture: source all Version: 1.2.22a Distribution: unstable Urgency: low Maintainer: Debian logcheck Team <logcheck-devel at lists.alioth.debian.org> Changed-By: Todd Troxell <ttroxell at debian.org> Description: logcheck - Mails anomalies in the system logfiles to the administrator logcheck-database - A database of system log rules for the use of log checkers logtail - Print log file lines that have not been read Closes: 252966 253075 253260 253486 Changes: logcheck (1.2.22a) unstable; urgency=low . maks: * Fix broken cleancheck call. (Closes: #252966, #253075, #253260, #253486) Files: 5688800d3e88941748cf56494818fbda 672 admin optional logcheck_1.2.22a.dsc 4d17d00ad7a5dba23f08e26e7a7d607c 72795 admin optional logcheck_1.2.22a.tar.gz e2412a6aa1d454f22eda60015b3a57c8 36684 admin optional logcheck_1.2.22a_all.deb 46a5dcc253c7e3f4db39cde92477d8f1 40592 admin optional logcheck-database_1.2.22a_all.deb 20fa7dac8970c7f9cee75a4cbfec9423 21414 admin optional logtail_1.2.22a_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAyBng4u3oQ3FHP2YRAuxcAJ9HdRMk+VTMA5ErhmR7KzeUzRxTaQCfduMl v+woQwv5m2JW60+6jZyg828=PSxP -----END PGP SIGNATURE-----