[Logcheck-commits] Frédéric Brière : Further adjusted kernel sd " hardware sectors" rule for 2.6.31-rc1

Frédéric Brière fbriere-guest at alioth.debian.org
Wed Aug 19 14:00:52 UTC 2009


Module: logcheck
Branch: master
Commit: 60770cd8b8fe609f728ad6c8841045faf4c911f4
URL:    http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=60770cd8b8fe609f728ad6c8841045faf4c911f4

Author: Frédéric Brière <fbriere at fbriere.net>
Date:   Wed Aug 19 09:59:02 2009 -0400

Further adjusted kernel sd "hardware sectors" rule for 2.6.31-rc1

This reflects the changes brought in by the kernel's ea09bcc.

---

 debian/changelog                            |    1 +
 rulefiles/linux/ignore.d.workstation/kernel |    3 ++-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cfcc6dc..0b6c691 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -39,6 +39,7 @@ logcheck (1.3.4) experimental; urgency=low
     - added various connection failure resolver messages (closes: #536071)
   * ignore.d.workstation/kernel:
     - adjusted sd "hardware sectors" rule for 2.6.28 (closes: #542390)
+    - further adjusted that rule for 2.6.31-rc1
 
  -- 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 1212f20..831ad96 100644
--- a/rulefiles/linux/ignore.d.workstation/kernel
+++ b/rulefiles/linux/ignore.d.workstation/kernel
@@ -53,7 +53,8 @@
 ^\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:]]+ [MG]B(/[.[:digit:]]+ [MG]iB)?\)$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] [[:digit:]]+ [[:digit:]]+-byte (hardware sectors|logical blocks):? \([.[:digit:]]+ [MG]B(/[.[:digit:]]+ [MG]iB)?\)$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] [[:digit:]]+-byte physical blocks$
 ^\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