[Logcheck-devel] Bug#484546: logcheck: Harmless cron-apt messages getting through

Daniel Hahler debian-bugs at thequod.de
Wed Jun 4 19:58:48 UTC 2008


Package: logcheck
Version: 1.2.64
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch

I'm forwarding a bug report from Ubuntu, reported at
https://launchpad.net/bugs/234946
Please consider including the provided/proposed patch in the next
upload.
Thanks.

When cron-apt runs and finds useful info, I have it set to notify users
directly. However, I'm getting logcheck mails like these for a portion
of the output.

System Events
=-=-=-=-=-=-=
May 24 05:00:02 cuimhne cron-apt: Reading state information...
May 24 05:00:02 cuimhne cron-apt: After this operation, 12.3kB of
additional disk space will be used.

Could I suggest the addition of these two lines into
/etc/logcheck/ignore.d.server/cron-apt

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron-apt: Reading state
information\.\.\.$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron-apt: After this operation,
[.0-9]+[gmk]?B of additional disk space will be used\.$
-------------- next part --------------
diff -Nru logcheck-1.2.64/rulefiles/linux/ignore.d.server/cron-apt logcheck-1.2.64.new/rulefiles/linux/ignore.d.server/cron-apt
--- logcheck-1.2.64/rulefiles/linux/ignore.d.server/cron-apt	2007-09-03 11:33:55.000000000 +0200
+++ logcheck-1.2.64.new/rulefiles/linux/ignore.d.server/cron-apt	2008-06-04 21:54:22.000000000 +0200
@@ -18,3 +18,5 @@
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: Fetched [[:digit:].]+[kM]?B in ([[:digit:]]+m)?[[:digit:]]+s \([[:digit:].]+[kM]?B/s\)$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: Download complete and in download only mode$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: E: Some index files failed to download, they have been ignored, or old ones used instead\.$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron-apt: Reading state information\.\.\.$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cron-apt: After this operation, [.0-9]+[gmk]?B of additional disk space will be used\.$


More information about the Logcheck-devel mailing list