[Logcheck-commits] [SCM] logcheck source and rules branch, master, updated. debian/1.3.14-15-gd7d1db5

Frédéric Brière fbriere at fbriere.net
Mon Jan 16 18:21:26 UTC 2012


The following commit has been merged in the master branch:
commit d7d1db538d343b497034a66fd18bc80f3b9f5909
Author: Frédéric Brière <fbriere at fbriere.net>
Date:   Mon Jan 16 11:55:38 2012 -0500

    i.d.w/kernel: ignore "No Caching mode page present"
    
    While this is logged at level KERN_ERR, the description of commit
    0bcaa11 makes it clear this is expected for "dumb" USB devices.

diff --git a/debian/changelog b/debian/changelog
index e53f902..179b3f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ logcheck (1.3.15) UNRELEASED; urgency=low
     - updated "Postponed ..." rule with "invalid user"
   * ignore.d.workstation/libmtp-runtime:
     - ignore mtp-probe messages when plugging a non-MTP device
+  * ignore.d.workstation/kernel:
+    - ignore "No Caching mode page present"
 
  -- Hannes von Haugwitz <hannes at vonhaugwitz.com>  Fri, 16 Dec 2011 08:06:47 +0100
 
diff --git a/rulefiles/linux/ignore.d.workstation/kernel b/rulefiles/linux/ignore.d.workstation/kernel
index 0caed97..cd07bfc 100644
--- a/rulefiles/linux/ignore.d.workstation/kernel
+++ b/rulefiles/linux/ignore.d.workstation/kernel
@@ -60,6 +60,7 @@
 ^\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: [[:xdigit:]]+ [[:xdigit:]]+ [[:xdigit:]]+ [[:xdigit:]]+$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] No Caching mode page present$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] Assuming drive cache: write through$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? sd [:[:digit:]]+: \[sd[a-z]\] Spinning up disk\.\.\.\.ready$
 ^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? [[:space:]]*sd[a-z]:( sd[a-z][[:digit:]]+)*$

-- 
logcheck source and rules



More information about the Logcheck-commits mailing list