[Bug 719898] [NEW] logwatch does not report cron events
Oliver Brakmann
719898 at bugs.launchpad.net
Wed Feb 16 09:36:03 UTC 2011
Public bug reported:
Binary package hint: logwatch
Hello,
Debian/Ubuntu ships a cron service definition (in
dist.conf/services/cron), which does not match any cron logfile entries
due to a wrong "OnlyService" statement in said service definition.
Currently, it looks like this:
*OnlyService = (CROND|\/USR\/SBIN\/CRON|\/usr\/sbin\/cron)
However, the logfile entries for cron look like this, so they don't match:
Feb 16 09:11:11 deimos cron[641]: (CRON) INFO (pidfile fd = 3)
Feb 16 09:11:11 deimos cron[654]: (CRON) STARTUP (fork ok)
Feb 16 09:11:11 deimos cron[654]: (CRON) INFO (Running @reboot jobs)
Feb 16 09:17:01 deimos CRON[923]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
I suggest changing the OnlyService statement to this (patch attached):
*OnlyService = (CRON|cron|CROND|\/USR\/SBIN\/CRON|\/usr\/sbin\/cron)
This applies to all Ubuntu releases, from at least Lucid to Natty.
Thanks!
** Affects: logwatch (Ubuntu)
Importance: Undecided
Status: New
** Tags: patch
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to logwatch in ubuntu.
https://bugs.launchpad.net/bugs/719898
Title:
logwatch does not report cron events
More information about the Ubuntu-server-bugs
mailing list