Ferenc Wagner
2008-Dec-10 10:21 UTC
[Logcheck-devel] Bug#508335: logcheck-database: xdm rules don't match
Package: logcheck-database Version: 1.2.68 Severity: normal Tags: patch Hi, the current xdm ignore rules read: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+[[:space:]]+: \(pam_[[:alnum:]]+\) session opened for user [[:alnum:]-]+ by \(uid=[0-9]+\)$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+[[:space:]]+: \(pam_[[:alnum:]]+\) session closed for user [[:alnum:]-]+$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ xdm: :0\[[0-9]+\]: pam_[[:alnum:]]+\(xdm:session\): session opened for user [[:alnum:]-]+ by \(uid=[0-9]+\)$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ xdm: :0\[[0-9]+\]: pam_[[:alnum:]]+\(xdm:session\): session closed for user [[:alnum:]-]+$ Of these, the first two haven't got anything to do with xdm and should be removed. The last two on the other hand never matches, as current log lines are formatted like: Dec 9 10:21:28 tac xdm[6130]: pam_unix(xdm:session): session opened for user wferi by wferi(uid=0) Dec 9 19:09:20 tac xdm[6130]: pam_unix(xdm:session): session closed for user wferi So I recommend replacing the xdm rules with: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ xdm\[[0-9]+\]: pam_[[:alnum:]]+\(xdm:session\): session opened for user [[:alnum:]-]+ by [[:alnum:]-]+\(uid=[0-9]+\)$ ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ xdm\[[0-9]+\]: pam_[[:alnum:]]+\(xdm:session\): session closed for user [[:alnum:]-]+$ Thanks, Feri. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- debconf information excluded
Frédéric Brière
2009-Aug-18 23:44 UTC
[Logcheck-devel] Bug#508335: logcheck-database: xdm rules don't match
On Wed, Dec 10, 2008 at 11:21:53AM +0100, Ferenc Wagner wrote:> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+[[:space:]]+: \(pam_[[:alnum:]]+\) session opened for user [[:alnum:]-]+ by \(uid=[0-9]+\)$ > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+[[:space:]]+: \(pam_[[:alnum:]]+\) session closed for user [[:alnum:]-]+$ > > Of these, the first two haven't got anything to do with xdm and should be removed.I think they still apply to etch's old libpam, so I'm reluctant to remove them at the moment.> The last two on the other hand never matches, as current log lines are formatted like:Thanks. I had already applied a similar fix before seeing this bug report, so I'll add a closing statement in the changelog. -- <sangr> home is where the highest bandwidth is
Debian Bug Tracking System
2009-Dec-10 19:21 UTC
[Logcheck-devel] Bug#508335: marked as done (logcheck-database: xdm rules don't match)
Your message dated Thu, 10 Dec 2009 19:19:22 +0000 with message-id <E1NIoXq-0000MP-Ol at ries.debian.org> and subject line Bug#508335: fixed in logcheck 1.3.4 has caused the Debian Bug report #508335, regarding logcheck-database: xdm rules don't match 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 this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 508335: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508335 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Ferenc Wagner <wferi at niif.hu> Subject: logcheck-database: xdm rules don't match Date: Wed, 10 Dec 2008 11:21:53 +0100 Size: 3029 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/642b4f75/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Gerfried Fuchs <rhonda at debian.at> Subject: Bug#508335: fixed in logcheck 1.3.4 Date: Thu, 10 Dec 2009 19:19:22 +0000 Size: 8647 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/642b4f75/attachment-0001.eml>