Ross Boylan
2004-Sep-08 16:48 UTC
[Logcheck-devel] Bug#270677: logcheck: unique sort isn't unique
Package: logcheck Version: 1.2.25 Severity: minor After I enable unique sorting (SORTUNIQ=1 in logcheck.conf) I still get lots of duplicates. I suppose the problem is that unique sorting occurs within each individual log file, but not overall. It would be more useful to have it done overall. Or perhaps there's some other problem. Here's part of a report from logcheck: Sep 8 07:30:01 wheat kernel: apm: BIOS not found. Sep 8 07:30:01 wheat kernel: apm: BIOS not found. or Sep 8 08:59:26 wheat kernel: klogd 1.4.1#15, log source = /proc/kmsg started. Sep 8 08:59:26 wheat kernel: Inspecting /boot/System.map-2.4.26advncdfs Sep 8 08:59:26 wheat kernel: klogd 1.4.1#15, log source = /proc/kmsg started. Sep 8 08:59:26 wheat kernel: Inspecting /boot/System.map-2.4.26advncdfs Sep 8 08:59:26 wheat kernel: klogd 1.4.1#15, log source = /proc/kmsg started. Sep 8 08:59:26 wheat kernel: Inspecting /boot/System.map-2.4.26advncdfs -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.26advncdfs Locale: LANG=en_US, LC_CTYPE=en_US Versions of packages logcheck depends on: ii adduser 3.59 Add and remove users and groups ii cron 3.0pl1-86 management of regular background p ii debconf [debconf 1.4.30.2 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii exim [mail-trans 3.36-11 An MTA (Mail Transport Agent) ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.25 A database of system log rules for ii logtail 1.2.25 Print log file lines that have not ii mailx 1:8.1.2-0.20040524cvs-1 A simple mail user agent ii perl 5.8.4-2 Larry Wall's Practical Extraction ii sysklogd [system 1.4.1-15 System Logging Daemon -- debconf information: * logcheck/security_level: workstation * logcheck/manage_conffiles: true * logcheck/auto_create_logfiles: true logcheck/upgrade-note: * logcheck/changes: * logcheck/install-note: * logcheck/rules-directories-note: * logcheck/email_address: root * logcheck/rewrite-note:
maks attems
2004-Sep-28 16:23 UTC
Bug#270677: [Logcheck-devel] Bug#270677: logcheck: unique sort isn't unique
tags 270677 pending thanks On Wed, 08 Sep 2004, Ross Boylan wrote:> After I enable unique sorting (SORTUNIQ=1 in logcheck.conf) I still > get lots of duplicates.yup, could duplicate that on my machine. the fix is to not use the '-m' switch for sorting. fixed in cvs. thanks for reporting. a++ maks
Debian Bug Tracking System
2004-Sep-28 16:33 UTC
Processed: Re: [Logcheck-devel] Bug#270677: logcheck: unique sort isn't unique
Processing commands for control at bugs.debian.org:> tags 270677 pendingBug#270677: logcheck: unique sort isn't unique There were no tags set. Tags added: pending> thanksStopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Debian Bug Tracking System
2004-Oct-17 00:03 UTC
[Logcheck-devel] Bug#270677: marked as done (logcheck: unique sort isn't unique)
Your message dated Sat, 16 Oct 2004 19:47:08 -0400 with message-id <E1CIyGS-0006nu-00 at newraff.debian.org> and subject line Bug#270677: fixed in logcheck 1.2.29 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 Sep 2004 16:48:57 +0000>From RossBoylan at stanfordalumni.org Wed Sep 08 09:48:57 2004Return-path: <RossBoylan at stanfordalumni.org> Received: from avocet.mail.pas.earthlink.net [207.217.120.50] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1C55cv-0007sB-00; Wed, 08 Sep 2004 09:48:57 -0700 Received: from dialup-4.243.206.201.dial1.sanfrancisco1.level3.net ([4.243.206.201] helo=wheat.dslnorthwest.net) by avocet.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1C55cr-0004c2-00; Wed, 08 Sep 2004 09:48:54 -0700 Received: from ross by wheat.dslnorthwest.net with local (Exim 3.36 #1 (Debian)) id 1C55cp-0001Ph-00; Wed, 08 Sep 2004 09:48:51 -0700 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Ross Boylan <RossBoylan at stanfordalumni.org> To: Debian Bug Tracking System <submit at bugs.debian.org> CC: RossBoylan at stanfordalumni.org Subject: logcheck: unique sort isn't unique X-Mailer: reportbug 2.63 Date: Wed, 08 Sep 2004 09:48:50 -0700 Message-Id: <E1C55cp-0001Ph-00 at wheat.dslnorthwest.net> Sender: Ross Boylan <RossBoylan at stanfordalumni.org> 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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: Package: logcheck Version: 1.2.25 Severity: minor After I enable unique sorting (SORTUNIQ=1 in logcheck.conf) I still get lots of duplicates. I suppose the problem is that unique sorting occurs within each individual log file, but not overall. It would be more useful to have it done overall. Or perhaps there's some other problem. Here's part of a report from logcheck: Sep 8 07:30:01 wheat kernel: apm: BIOS not found. Sep 8 07:30:01 wheat kernel: apm: BIOS not found. or Sep 8 08:59:26 wheat kernel: klogd 1.4.1#15, log source = /proc/kmsg started. Sep 8 08:59:26 wheat kernel: Inspecting /boot/System.map-2.4.26advncdfs Sep 8 08:59:26 wheat kernel: klogd 1.4.1#15, log source = /proc/kmsg started. Sep 8 08:59:26 wheat kernel: Inspecting /boot/System.map-2.4.26advncdfs Sep 8 08:59:26 wheat kernel: klogd 1.4.1#15, log source = /proc/kmsg started. Sep 8 08:59:26 wheat kernel: Inspecting /boot/System.map-2.4.26advncdfs -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.26advncdfs Locale: LANG=en_US, LC_CTYPE=en_US Versions of packages logcheck depends on: ii adduser 3.59 Add and remove users and groups ii cron 3.0pl1-86 management of regular background p ii debconf [debconf 1.4.30.2 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii exim [mail-trans 3.36-11 An MTA (Mail Transport Agent) ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.25 A database of system log rules for ii logtail 1.2.25 Print log file lines that have not ii mailx 1:8.1.2-0.20040524cvs-1 A simple mail user agent ii perl 5.8.4-2 Larry Wall's Practical Extraction ii sysklogd [system 1.4.1-15 System Logging Daemon -- debconf information: * logcheck/security_level: workstation * logcheck/manage_conffiles: true * logcheck/auto_create_logfiles: true logcheck/upgrade-note: * logcheck/changes: * logcheck/install-note: * logcheck/rules-directories-note: * logcheck/email_address: root * logcheck/rewrite-note: --------------------------------------- Received: (at 270677-close) by bugs.debian.org; 16 Oct 2004 23:53:05 +0000>From katie at ftp-master.debian.org Sat Oct 16 16:53:05 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 1CIyMD-0006le-00; Sat, 16 Oct 2004 16:53:05 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1CIyGS-0006nu-00; Sat, 16 Oct 2004 19:47:08 -0400 From: Todd Troxell <ttroxell at debian.org> To: 270677-close at bugs.debian.org X-Katie: $Revision: 1.51 $ Subject: Bug#270677: fixed in logcheck 1.2.29 Message-Id: <E1CIyGS-0006nu-00 at newraff.debian.org> Sender: Archive Administrator <katie at ftp-master.debian.org> Date: Sat, 16 Oct 2004 19:47:08 -0400 Delivered-To: 270677-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: 2 Source: logcheck Source-Version: 1.2.29 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.29_all.deb to pool/main/l/logcheck/logcheck-database_1.2.29_all.deb logcheck_1.2.29.dsc to pool/main/l/logcheck/logcheck_1.2.29.dsc logcheck_1.2.29.tar.gz to pool/main/l/logcheck/logcheck_1.2.29.tar.gz logcheck_1.2.29_all.deb to pool/main/l/logcheck/logcheck_1.2.29_all.deb logtail_1.2.29_all.deb to pool/main/l/logcheck/logtail_1.2.29_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 270677 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: Saturday, 16 Oct 2004 19:14:03 -0500 Source: logcheck Binary: logcheck logtail logcheck-database Architecture: source all Version: 1.2.29 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: 270019 270677 272969 273433 276063 276317 Changes: logcheck (1.2.29) unstable; urgency=low . maks: * Don't report sudo calls where pwd contains spaces (Closes: #272969) * Fix trailing space in perdition rule. (Closes: #273433) * Small documentation update how to test rules without fiddling with trailing space. * sed fine tuning to speed up + remove trailing tabs. thanks alfie * Don't use -m switch from sort, it basically disables sorting. Remove gratious call to uniq that should be done with SORTUNIQ. (Closes: #270677) * Add violations.ignore.d/su on old logfiles to be removed on sarge upgrade. * Add rules for kdm/wdm/xdm, kernel (usb, keyboard) on level workstation. * Only show "rules-directories-note" on upgrade. * Enhance ppp rules on level workstation. (Closes: #270019) Add pppoa3 rules to the ppp rules. * Small update concerning reject messages in postfix + new rule. * Added pptpd rules at level workstation. thanks to Erich Schubert <erich at debian.org> * Added first pure-ftpd rules at level server. * Fix cyrus violations.ignore.d rules for higher pids. todd: * Add 1 dovecot rule * Fix another permission issue involving rulefiles. Added chown to debian/ rules. * Simpler formatting on version string. jamie: * Updated rules for innd, added rule for cleanfeed. * Small correction to gps rules. * Added SPF postfix policy server rule for 'SPF pass'. * Fix spelling mistake in dhcp rules. (Closes: #276063) * Change dhcp rules to reflect ISC's change of name. Thanks to Dirk Prosdorf for the patch. (Closes: #276317) Files: f7720d493d22ecc98da401f694d4b894 668 admin optional logcheck_1.2.29.dsc 6eb2aca5a62e1506ff9da91f70c5c5dc 83385 admin optional logcheck_1.2.29.tar.gz a16f72d33f2f74b99454ed59ff088e14 40122 admin optional logcheck_1.2.29_all.deb 22c9bc92215aa4917125903264492df0 50294 admin optional logcheck-database_1.2.29_all.deb 0be6a2f4354e5eb85654aeab28020c4e 23734 admin optional logtail_1.2.29_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBcawf4u3oQ3FHP2YRAploAKCeVtHWvKgupv3HIiRtX3b2nt2nZACeJ8Xu oHXCzqSgmE6v9mCNWbspCNY=qAeK -----END PGP SIGNATURE-----