karmic regression: logcheck prints CRON CMD lines
Bug #463471 reported by
Matthias Andree
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logcheck (Debian) |
Fix Released
|
Unknown
|
|||
logcheck (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Karmic |
Fix Released
|
Medium
|
Loïc Minier | ||
rsyslog (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
Karmic |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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.
tags: | added: karmic regression-release |
Changed in logcheck (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in rsyslog (Ubuntu): | |
status: | New → Confirmed |
Changed in logcheck (Debian): | |
status: | Unknown → New |
Changed in logcheck (Debian): | |
status: | New → Fix Released |
Changed in logcheck (Ubuntu Karmic): | |
status: | New → In Progress |
assignee: | nobody → Loïc Minier (lool) |
importance: | Undecided → Medium |
Changed in rsyslog (Ubuntu Karmic): | |
status: | New → Won't Fix |
description: | updated |
To post a comment you must log in.
I'm also having the same issue after an upgrade to 9.10 and I use only the server profile. I'd suggest that the fix is applied to the /etc/logcheck/ ignore. d.server/ cron
Nov 1 06:17:01 host1 CRON[27038]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 1 06:25:01 host1 CRON[27643]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
Nov 1 06:47:01 host1 CRON[29299]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly ))
Nov 1 06:52:01 host1 CRON[29678]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly ))
Nov 1 07:02:01 host1 CRON[30439]: (logcheck) CMD ( if [ -x /usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck; fi)