Hannes von Haugwitz
2009-Aug-19 11:13 UTC
[Logcheck-devel] Bug#542390: ignore.d.workstation/kernel: please add rule for changed hardware sectors message
Package: logcheck-database Version: 1.3.3 Severity: wishlist Tags: patch Hi, the attached patch modifies git version of ignore.d.workstation/kernel to also ignore messages like these Aug 19 06:49:10 t400 kernel: [ 2884.857181] sd 5:0:0:0: [sdd] 156301488 512-byte hardware sectors: (80.0 GB/74.5 GiB) Aug 19 11:50:25 t400 kernel: [20960.155824] sd 7:0:0:0: [sdc] 15682559 512-byte hardware sectors: (8.02 GB/7.47 GiB) Aug 19 12:38:36 t400 kernel: [23851.005063] sd 8:0:0:0: [sdc] 506880 512-byte hardware sectors: (259 MB/247 MiB) Aug 19 12:38:43 t400 kernel: [23857.727690] sd 9:0:0:0: [sdd] 2006673 512-byte hardware sectors: (1.02 GB/979 MiB) Hannes -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.30.5 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- no debconf information -------------- next part -------------- --- /etc/logcheck/ignore.d.workstation/kernel.orig 2009-08-19 12:49:14.000000000 +0200 +++ /etc/logcheck/ignore.d.workstation/kernel 2009-08-19 12:50:56.000000000 +0200 @@ -53,7 +53,7 @@ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [[:digit:]:]+ Attached scsi (removable )?disk sd[a-z]$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] Attached SCSI (removable )?disk$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? SCSI device sd[a-z]: [[:digit:]]+ 512-byte hdwr sectors \([[:digit:]]+ MB\)$ -^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] [[:digit:]]+ [[:digit:]]+-byte hardware sectors \([[:digit:]]+ MB\)$ +^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] [[:digit:]]+ [[:digit:]]+-byte hardware sectors:? \([.[:digit:]]+ (G|M)B(/[.[:digit:]]+ (G|M)iB)?\)$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] Write Protect is (off|on)$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] Mode Sense: [[:digit:]]+ [[:digit:]]+ [[:digit:]]+ [[:digit:]]+$ ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] Assuming drive cache: write through$
Debian Bug Tracking System
2009-Dec-10 19:21 UTC
[Logcheck-devel] Bug#542390: marked as done (ignore.d.workstation/kernel: please add rule for changed hardware sectors message)
Your message dated Thu, 10 Dec 2009 19:19:23 +0000 with message-id <E1NIoXr-0000Nq-Dt at ries.debian.org> and subject line Bug#542390: fixed in logcheck 1.3.4 has caused the Debian Bug report #542390, regarding ignore.d.workstation/kernel: please add rule for changed hardware sectors message 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.) -- 542390: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542390 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Hannes von Haugwitz <hannes at vonhaugwitz.com> Subject: ignore.d.workstation/kernel: please add rule for changed hardware sectors message Date: Wed, 19 Aug 2009 13:13:42 +0200 Size: 4663 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/e5a30a5c/attachment.eml> -------------- next part -------------- An embedded message was scrubbed... From: Gerfried Fuchs <rhonda at debian.at> Subject: Bug#542390: fixed in logcheck 1.3.4 Date: Thu, 10 Dec 2009 19:19:23 +0000 Size: 8647 URL: <http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20091210/e5a30a5c/attachment-0001.eml>