[Logcheck-commits] =?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?=: i.d.w/libmtp-runtime: ignore mtp-probe msg when plugging non-MTP devices

Frédéric Brière fbriere-guest at alioth.debian.org
Mon Jan 16 18:21:23 UTC 2012


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

Author: Frédéric Brière <fbriere at fbriere.net>
Date:   Mon Jan 16 11:36:52 2012 -0500

i.d.w/libmtp-runtime: ignore mtp-probe msg when plugging non-MTP devices

---

 debian/changelog                                   |    2 ++
 .../linux/ignore.d.workstation/libmtp-runtime      |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d18e017..e53f902 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -20,6 +20,8 @@ logcheck (1.3.15) UNRELEASED; urgency=low
     - ignore yet one more variation of "invalid user"
     - updated "Postponed ..." rule with "[preauth]" suffix
     - updated "Postponed ..." rule with "invalid user"
+  * ignore.d.workstation/libmtp-runtime:
+    - ignore mtp-probe messages when plugging a non-MTP device
 
  -- Hannes von Haugwitz <hannes at vonhaugwitz.com>  Fri, 16 Dec 2011 08:06:47 +0100
 
diff --git a/rulefiles/linux/ignore.d.workstation/libmtp-runtime b/rulefiles/linux/ignore.d.workstation/libmtp-runtime
new file mode 100644
index 0000000..2acdf78
--- /dev/null
+++ b/rulefiles/linux/ignore.d.workstation/libmtp-runtime
@@ -0,0 +1,2 @@
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ mtp-probe: checking bus [[:digit:]]+, device [[:digit:]]+: "/sys/devices/[.:/[:alnum:]-]+"$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ mtp-probe: bus: [[:digit:]]+, device: [[:digit:]]+ was not an MTP device$




More information about the Logcheck-commits mailing list