Your message dated Sun, 03 Apr 2005 16:02:12 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#302132: fixed in logwatch 5.2.2-5
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; 30 Mar 2005 08:29:29 +0000
>From [EMAIL PROTECTED] Wed Mar 30 00:29:28 2005
Return-path: <[EMAIL PROTECTED]>
Received: from 81-152-22-rev.nemi-networks.co.uk
(exchange.lan.esblimited.co.uk) [217.22.152.81]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DGYZs-0002FK-00; Wed, 30 Mar 2005 00:29:28 -0800
Received: from exchange.lan.esblimited.co.uk ([EMAIL PROTECTED] [127.0.0.1])
by exchange.lan.esblimited.co.uk (8.13.3/8.13.3/Debian-6) with ESMTP id
j2U8TaZt009948
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
for <[EMAIL PROTECTED]>; Wed, 30 Mar 2005 09:29:36 +0100
Received: (from [EMAIL PROTECTED])
by exchange.lan.esblimited.co.uk (8.13.3/8.13.3/Submit) id
j2U8TaSa009947;
Wed, 30 Mar 2005 09:29:36 +0100
Message-Id: <[EMAIL PROTECTED]>
X-Authentication-Warning: exchange.lan.esblimited.co.uk: richm set sender to
[EMAIL PROTECTED] using -f
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Richard Mortimer <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: logwatch does not handle '-' in username for sudo service
X-Mailer: reportbug 3.8
Date: Wed, 30 Mar 2005 09:29:36 +0100
X-esblimited.co.uk-MailScanner: Found to be clean
X-MailScanner-From: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: logwatch
Version: 5.2.2-4
Severity: normal
Tags: patch
Logwatch is reporting unmatched cron entries for users with a '-' in the
username. e.g.
Unmatched Entries:
root : TTY=pts/0 ; PWD=/tmp ; USER=Debian-exim ; COMMAND=/usr/bin/test -w
/var/spool/exim4
root : TTY=pts/0 ; PWD=/tmp ; USER=www-data ; COMMAND=/usr/bin/test -w
/var/www
The following patch fixes the problem.
Best regards
Richard
--- /usr/share/logwatch/scripts/services/sudo.050330 2005-03-30
09:17:08.000000000 +0100
+++ /usr/share/logwatch/scripts/services/sudo 2005-03-30 09:18:54.000000000
+0100
@@ -32,7 +32,7 @@
while (defined(my $line=<STDIN>)){
chomp $line;
if ( my($user, $tty, $dir, $euser, $cmd)
- = ( $line =~ /^\s*(\w+) : TTY=(\S+) ; PWD=(.*?) ; USER=(\w+) ;
COMMAND=(.*)/)) {
+ = ( $line =~ /^\s*(\w+) : TTY=(\S+) ; PWD=(.*?) ; USER=([-\w]+) ;
COMMAND=(.*)/)) {
push @{$byUser{$user}{$euser}}, [$cmd, $dir, $tty];
}
else
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-386
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages logwatch depends on:
ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent
ii perl 5.8.4-6 Larry Wall's Practical Extraction
-- no debconf information
---------------------------------------
Received: (at 302132-close) by bugs.debian.org; 3 Apr 2005 20:17:58 +0000
>From [EMAIL PROTECTED] Sun Apr 03 13:17:58 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gluck.debian.org [192.25.206.10]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DIBXi-0006Up-00; Sun, 03 Apr 2005 13:17:58 -0700
Received: from newraff.debian.org [208.185.25.31] (mail)
by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DIBXh-0005WB-00; Sun, 03 Apr 2005 14:17:57 -0600
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DIBIS-0006EU-00; Sun, 03 Apr 2005 16:02:12 -0400
From: Willi Mann <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#302132: fixed in logwatch 5.2.2-5
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 03 Apr 2005 16:02:12 -0400
Delivered-To: [EMAIL PROTECTED]
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:
Source: logwatch
Source-Version: 5.2.2-5
We believe that the bug you reported is fixed in the latest version of
logwatch, which is due to be installed in the Debian FTP archive:
logwatch_5.2.2-5.diff.gz
to pool/main/l/logwatch/logwatch_5.2.2-5.diff.gz
logwatch_5.2.2-5.dsc
to pool/main/l/logwatch/logwatch_5.2.2-5.dsc
logwatch_5.2.2-5_all.deb
to pool/main/l/logwatch/logwatch_5.2.2-5_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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Willi Mann <[EMAIL PROTECTED]> (supplier of updated logwatch 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 [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Fri, 1 Apr 2005 19:52:36 +0200
Source: logwatch
Binary: logwatch
Architecture: source all
Version: 5.2.2-5
Distribution: unstable
Urgency: high
Maintainer: Willi Mann <[EMAIL PROTECTED]>
Changed-By: Willi Mann <[EMAIL PROTECTED]>
Description:
logwatch - log analyser with nice output written in Perl
Closes: 302132
Changes:
logwatch (5.2.2-5) unstable; urgency=high
.
* Accept more chars in usernames in services/sudo script (closes: #302132,
thanks to Richard Mortimer <[EMAIL PROTECTED]>)
Files:
c65df69031ee83e38c96179effc5d14c 566 admin optional logwatch_5.2.2-5.dsc
ab9beb9423d1c3b510b5c26844c4f5d2 26228 admin optional logwatch_5.2.2-5.diff.gz
aa969a3bfff76d4d2432129b3827f2b6 124858 admin optional logwatch_5.2.2-5_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCUEgNliSD4VZixzQRAunpAKCOUcizrxizHVIGHVLj4/ylgd6zpwCdHI5j
AE1pr0WFhhf36NoRwl1XkCw=
=U3dO
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]