Daniel Hahler
2008-Jun-04 19:58 UTC
[Logcheck-devel] Bug#484546: logcheck: Harmless cron-apt messages getting through
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\.$
Debian Bug Tracking System
2008-Jun-25 13:21 UTC
[Logcheck-devel] Bug#484546: marked as done (logcheck: Harmless cron-apt messages getting through)
Your message dated Wed, 25 Jun 2008 13:02:07 +0000 with message-id <E1KBUdT-0003ov-46 at ries.debian.org> and subject line Bug#484546: fixed in logcheck 1.2.65 has caused the Debian Bug report #484546, regarding logcheck: Harmless cron-apt messages getting through to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 484546: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484546 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Daniel Hahler <debian-bugs at thequod.de> Subject: logcheck: Harmless cron-apt messages getting through Date: Wed, 04 Jun 2008 21:58:48 +0200 Size: 4562 Url: http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20080625/79f8b0e7/attachment.eml -------------- next part -------------- An embedded message was scrubbed... From: madduck at debian.org (martin f. krafft) Subject: Bug#484546: fixed in logcheck 1.2.65 Date: Wed, 25 Jun 2008 13:02:07 +0000 Size: 7009 Url: http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20080625/79f8b0e7/attachment-0001.eml