Adam James
2006-Feb-20 22:17 UTC
[Logcheck-devel] Bug#338003: Missing and incomplete rule file.
Hi, At some point since version 1.2.43, the ignore.d.server/cron-apt rule file has been removed. I checked the changelogs and SVN repository, but could find no reference to this removal. Regardless, the rules provided above are incomplete and miss several lines of output, such as: Jan 23 04:23:25 evolution cron-apt: Get:14 ftp://ftp.de.debian.org unstable/main python-twisted 2.1.0-2 [1844B] Jan 23 04:23:25 evolution cron-apt: Fetched 11.3MB in 1m55s (98.2kB/s) Jan 25 04:08:54 evolution cron-apt: After unpacking 8192B of additional disk space will be used. Feb 14 04:27:34 evolution cron-apt: Get:9 ftp://ftp.de.debian.org unstable/non-free unrar 1:3.5.4-1 [92.2kB] The attached rules file has been tested for some time on my system, and has thus far matched *all* successful reports. Kind regards, -- Adam James <ad at heliosphan.co.uk> PROOF OF GOD'S EXISTENCE #285: ARGUMENT FROM WEIRD (1) You look weird, Atheist. (2) Therefore, God exists. -------------- next part -------------- ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: {3}[ .+[:alnum:]-]+$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: After unpacking [[:digit:].]+(B|kB|MB) (of additional disk space will be used|disk space will be freed).$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: Building dependency tree...$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: CRON-APT ACTION: (0-update|3-download)$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: CRON-APT RUN \[[-[:alnum:]/]+\]: \w{3} \w{3} [ [:digit:]]+ [:[:digit:]]{8} \w{3} [[:digit:]]{4}$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: CRON-APT SLEEP: [[:digit:]]+, \w{3} \w{3} [ [:digit:]]+ [:[:digit:]]{8} \w{3} [[:digit:]]{4}$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: [[:digit:]]+ upgraded, [[:digit:]]+ newly installed, [[:digit:]]+ to remove and [[:digit:]]+ not upgraded.$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: Download complete and in download only mode$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: Fetched [[:digit:].]+(B|kB|MB) in [[:digit:].(m|s)]+ \([[:digit:].]+kB/s\)$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: Get:[[:digit:]]+ (http://|ftp://)[.[:alnum:]/_]+ [/[:alnum:]-]+ [-[:alnum:]_]+[ +.:[:alnum:]-]+ \[[.[:digit:]]+(B|kB|MB)\]$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: Need to get [[:digit:].]+(B|kB|MB)(/[.[:digit:]]+(B|kB|MB))* of archives.$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: Reading package lists...$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: The following NEW packages will be installed:$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: The following packages have been kept back:$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: The following packages will be REMOVED:$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ cron-apt: The following packages will be upgraded:$