Jason Martens
2007-Jun-11 16:29 UTC
[Logcheck-devel] Bug#428428: patch for cron ignore rule
Package: logcheck
Version: 1.2.54
Severity: normal
Tags: patch
On my system, this ignore rule needs /usr/bin/ in front of the cron command, or
the rule fails to match.
hostname:/etc/logcheck/ignore.d.server# diff cron cron.old
1c1
< ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (/usr/bin/)?crontab\[[0-9]+\]:
\([[:alnum:]-]+\) LIST \([[:alnum:]-]+\)$
---> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ crontab\[[0-9]+\]: \([[:alnum:]-]+\)
LIST \([[:alnum:]-]+\)$
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-xen-vserver-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages logcheck depends on:
ii adduser 3.102 Add and remove users and groups
ii cron 3.0pl1-100 management of regular background p
ii debconf 1.5.11 Debian configuration management sy
ii exim4 4.63-17 metapackage to ease exim MTA (v4)
ii exim4-daemon-hea 4.63-17 exim MTA (v4) daemon with extended
ii grep 2.5.1.ds2-6 GNU grep, egrep and fgrep
ii lockfile-progs 0.1.10 Programs for locking and unlocking
ii logtail 1.2.54 Print log file lines that have not
ii mailx 1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii sysklogd [system 1.4.1-18 System Logging Daemon
Versions of packages logcheck recommends:
ii logcheck-database 1.2.54 database of system log rules for t
-- no debconf information
Seemingly Similar Threads
- Bug#413364: logcheck ignores cron rules for "session closed" and "session opened"
- Bug#330220: Permissions of /var/lock/logcheck not conducive to logcheck user writing to it
- Bug#425967: logcheck-database: The patterns for courier-imap-ssl do not match imap, only imap-ssl
- ssh failed login rule problem
- Bug#290511: logcheck: syslogd restart in cron.daily/sysklogd causes a log message
