** Changed in: rsyslog (Ubuntu Karmic)
Status: New => Won't Fix
** Description changed:
- Binary package hint: logcheck-database
+ logcheck reports all logs from CRON since the switch to rsyslog; the
+ regexp requires /usr/sbin/cron or /USR/SBIN/CRON, but rsyslog logs cron
+ or CRON
- Ubuntu 9.10, upgraded from 9.04.
- logcheck-database 1.2.69 from karmic/main
+ Impact: installs with logcheck get emails very frequently (for each
+ matching CRON log)
- logcheck is supposed to suppress cron lines that just log "CMD",
- according to /etc/logcheck/ignore.d.paranoid/cron which contains:
+ Bug was addressed by updating the RE to make the /usr/sbin part
+ optional.
- ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ /USR/SBIN/CRON\[[0-9]+\]:
- \([_[:alnum:]-]+\) CMD \(.*\)$
+ TEST CASE:
+ Install logcheck, wait for some CRON entries in your syslog, wait for
logcheck's cron to run, see whether you get an email.
- This used to work on 9.04, however, on 9.10 CRON no longer logs its full
- path name, example from /var/log/syslog:
-
- Oct 29 17:50:01 host1 CRON[8504]: (user1) CMD (/usr/local/bin/getmail -r
- /home/user1/.getmail/getmailrc)
-
- Which makes these lines appear in the logs. Annoying for jobs on a
- 5-minute basis...
-
- Suggested fix: adjust the filter line from
- /etc/logcheck/ignore.d.paranoid/cron shown above and remove the
- /USR/SBIN part.
+ Regression potential: People with local changes need to merge conffiles.
** Description changed:
logcheck reports all logs from CRON since the switch to rsyslog; the
regexp requires /usr/sbin/cron or /USR/SBIN/CRON, but rsyslog logs cron
or CRON
Impact: installs with logcheck get emails very frequently (for each
matching CRON log)
Bug was addressed by updating the RE to make the /usr/sbin part
optional.
TEST CASE:
Install logcheck, wait for some CRON entries in your syslog, wait for
logcheck's cron to run, see whether you get an email.
Regression potential: People with local changes need to merge conffiles.
+
+ THIS SRU REQUEST IS BEING TRACKED IN MAIN BUG #463471.
** Patch added: "Proposed debdiff"
http://launchpadlibrarian.net/39761248/logcheck-1.2.69ubuntu1.debdiff
--
karmic regression: logcheck prints CRON CMD lines
https://bugs.launchpad.net/bugs/463471
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs