[Logcheck-commits] Hannes von Haugwitz: Adjusted kernel sd "hardware sectors" rule for 2.6.28 (closes: #542390)
Frédéric Brière
fbriere-guest at alioth.debian.org
Wed Aug 19 14:00:51 UTC 2009
Module: logcheck
Branch: master
Commit: 42b34c30ac9995c9e9049a39e7996202f73afe72
URL: http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=42b34c30ac9995c9e9049a39e7996202f73afe72
Author: Hannes von Haugwitz <hannes at vonhaugwitz.com>
Date: Wed Aug 19 09:53:23 2009 -0400
Adjusted kernel sd "hardware sectors" rule for 2.6.28 (closes: #542390)
This reflects the changes brought in by the kernel's 7404ad3.
---
debian/changelog | 2 ++
rulefiles/linux/ignore.d.workstation/kernel | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ce2bafb..cfcc6dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,6 +37,8 @@ logcheck (1.3.4) experimental; urgency=low
- added "no_read"/"no_post" rule (closes: #533487)
* ignore.d.server/bind:
- added various connection failure resolver messages (closes: #536071)
+ * ignore.d.workstation/kernel:
+ - adjusted sd "hardware sectors" rule for 2.6.28 (closes: #542390)
-- Frédéric Brière <fbriere at fbriere.net> Mon, 17 Aug 2009 11:48:08 -0400
diff --git a/rulefiles/linux/ignore.d.workstation/kernel b/rulefiles/linux/ignore.d.workstation/kernel
index c0a9cdc..1212f20 100644
--- a/rulefiles/linux/ignore.d.workstation/kernel
+++ b/rulefiles/linux/ignore.d.workstation/kernel
@@ -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:]]+ [MG]B(/[.[:digit:]]+ [MG]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$
More information about the Logcheck-commits
mailing list