[Logcheck-devel] Bug#286306: marked as done (logcheck rules for webmin)

Debian Bug Tracking System owner at bugs.debian.org
Sat Jan 8 10:33:16 UTC 2005


Your message dated Sat, 08 Jan 2005 05:17:05 -0500
with message-id <E1CnDeb-0004JI-00 at newraff.debian.org>
and subject line Bug#286306: fixed in logcheck 1.2.33
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; 19 Dec 2004 11:13:47 +0000
>From ogi at fmi.uni-sofia.bg Sun Dec 19 03:13:47 2004
Return-path: <ogi at fmi.uni-sofia.bg>
Received: from lio.fmi.uni-sofia.bg (smtp.fmi.uni-sofia.bg) [62.44.101.7] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cfz0U-00040U-00; Sun, 19 Dec 2004 03:13:47 -0800
Received: from debian.fmi.uni-sofia.bg ([62.44.101.36])
	by smtp.fmi.uni-sofia.bg
	for submit at bugs.debian.org;
	Sun, 19 Dec 2004 13:09:09 +0200
Received: from [127.0.0.1] (localhost [127.0.0.1])
	by debian.fmi.uni-sofia.bg (Postfix) with ESMTP id 017402362C
	for <submit at bugs.debian.org>; Sun, 19 Dec 2004 13:13:37 +0200 (EET)
Message-ID: <41C56375.4090401 at fmi.uni-sofia.bg>
Date: Sun, 19 Dec 2004 13:18:13 +0200
From: Ognyan Kulev <ogi at fmi.uni-sofia.bg>
Organization: Faculty of Mathematics and Informatics, University of Sofia
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041007 Debian/1.7.3-5
X-Accept-Language: bg, en, en-us
MIME-Version: 1.0
To: submit at bugs.debian.org
Subject: fixes for logcheck rules
Content-Type: multipart/mixed;
 boundary="------------090302040800090004010004"
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: 

This is a multi-part message in MIME format.
--------------090302040800090004010004
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Package: dovecot-common
Version: 0.99.11-3
Severity: minor
Tags: patch

dovecot-common contains logcheck rules for ignoring messages for user 
logins.  But dots in login names are acceptable and dovecot logcheck 
rule doesn't count catch such messages.

So the following rule better be used.

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ imap-login: Login: [[:alnum:].-]+ 
\[[0-9.]+\]$

Note that dot is not special in [].

There is another problem with the following rule:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ imap-login: Disconnected: Inactivity 
\[[0-9.]+\]$

On my system, there is no string ": Inactivity", so such lines are not 
ignored by logcheck.

Patch is attached.

Regards,
ogi

--------------090302040800090004010004
Content-Type: text/x-patch;
 name="dovecot-logcheck.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dovecot-logcheck.diff"

--- dovecot.orig	2004-12-19 13:04:26.000000000 +0200
+++ dovecot	2004-12-19 13:12:06.000000000 +0200
@@ -1,3 +1,3 @@
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ imap-login: Login: [[:alnum:]-]+ \[[0-9\.]+\]$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ imap-login: Disconnected: Inactivity \[[0-9\.]+\]$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ imap-login: Login: [[:alnum:].-]+ \[[0-9.]+\]$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ imap-login: Disconnected \[[0-9.]+\]$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ imap\([^[:space:]]+\): File isn't in mbox format: [^[:space:]]+$

--------------090302040800090004010004--


---------------------------------------
Received: (at 286306-close) by bugs.debian.org; 8 Jan 2005 10:21:50 +0000
>From katie at ftp-master.debian.org Sat Jan 08 02:21:50 2005
Return-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 1CnDjC-0000Qy-00; Sat, 08 Jan 2005 02:21:50 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1CnDeb-0004JI-00; Sat, 08 Jan 2005 05:17:05 -0500
From: Todd Troxell <ttroxell at debian.org>
To: 286306-close at bugs.debian.org
X-Katie: $Revision: 1.54 $
Subject: Bug#286306: fixed in logcheck 1.2.33
Message-Id: <E1CnDeb-0004JI-00 at newraff.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Sat, 08 Jan 2005 05:17:05 -0500
Delivered-To: 286306-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 6

Source: logcheck
Source-Version: 1.2.33

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.33_all.deb
  to pool/main/l/logcheck/logcheck-database_1.2.33_all.deb
logcheck_1.2.33.dsc
  to pool/main/l/logcheck/logcheck_1.2.33.dsc
logcheck_1.2.33.tar.gz
  to pool/main/l/logcheck/logcheck_1.2.33.tar.gz
logcheck_1.2.33_all.deb
  to pool/main/l/logcheck/logcheck_1.2.33_all.deb
logtail_1.2.33_all.deb
  to pool/main/l/logcheck/logtail_1.2.33_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 286306 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, 08 Jan 2005 04:56:00 -0500
Source: logcheck
Binary: logcheck logtail logcheck-database
Architecture: source all
Version: 1.2.33
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: 284505 284788 284825 285602 286230 286306 286329 286532 286747 287184 287237 288580 289246
Changes: 
 logcheck (1.2.33) unstable; urgency=low
 .
   maks:
   * Enhance rules at level workstation for removable devices.
     (closes: #284505, #284825)
   * Fix dnsmasq rule regarding DHCPINFORM. (closes: #286532)
   * Add rbldnsd rules at level server from Rafael Jesus Alcantara Perez
     <rafa at dedaloingenieros.com>. (closes: #285602)
   * Add jabberd rules from Peter Palfrader <weasel at debian.org>.
   * Add rule for weekly nmbd logrotate. (closes: #286329)
   * Add rules from Lee Maguire <lee-debian at hexkey.co.uk> for usb headset
     on level workstation. (closes: #286747)
   * Fix dovecot rules: dots in usernames + other breakage. (closes: #286306)
   * Fix gconfd rules for latest default english logging style.
   * Logtail need to depend on versioned perl not logcheck. (closes: #288580)
   * Add rules for dictd, francine, kernel from alfie.
   * Fix dhcp rules for vlan case. (closes: #289246)
   todd:
   * Set rule directories setgid to simplify administration. (closes: #286230)
   * Add future package plans to TODO
   * Remove dh_strip and dh_shlibdeps from debian/rules
   * Touch cron.d/logcheck in postinst. (closes: #284788)
   * Conditionally set permissions in postinst on version <1.2.33
     (closes: #287184)
   * Update dh_installlogcheck, which has already been patched in debhelper.
     (closes: #287237)
Files: 
 df0734db2689120d6190ce5ea8622f4b 703 admin optional logcheck_1.2.33.dsc
 540f44fc39be17a3357671c4deef86c5 89502 admin optional logcheck_1.2.33.tar.gz
 e138301e6f638aeca6a05405429b95e4 42368 admin optional logcheck_1.2.33_all.deb
 d9e9073c85c61d442719988440d04f5f 57492 admin optional logcheck-database_1.2.33_all.deb
 6b983373c4044d602a25dd8ccc5b21ed 25368 admin optional logtail_1.2.33_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB369S4u3oQ3FHP2YRAgssAKCh0ofP6ZCATqcFdqBMzwTH7MQhjgCg0VdW
a1cPOUVFxEp9IN83KE8mGr4=
=5YoU
-----END PGP SIGNATURE-----





More information about the Logcheck-devel mailing list