[Logcheck-commits] Frédéric Brière : i.d.s/kernel: allow '-' in usbcore interface driver names
Frédéric Brière
fbriere-guest at alioth.debian.org
Fri Feb 19 02:52:55 UTC 2010
Module: logcheck
Branch: master
Commit: 0b61a0cdabfc0ef3903d65a24c2ebe9dd56a329c
URL: http://git.debian.org/?p=logcheck/logcheck.git;a=commit;h=0b61a0cdabfc0ef3903d65a24c2ebe9dd56a329c
Author: Frédéric Brière <fbriere at fbriere.net>
Date: Thu Feb 18 21:21:55 2010 -0500
i.d.s/kernel: allow '-' in usbcore interface driver names
Here is a sample log line:
Dec 5 14:54:25 toroia kernel: [1741438.025830] usbcore: registered new interface driver snd-usb-audio
---
debian/changelog | 1 +
rulefiles/linux/ignore.d.server/kernel | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e4518d0..25742fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,7 @@ logcheck (1.3.7) UNRELEASED; urgency=low
* ignore.d.server/kernel:
- added IPv6 support to "Treason uncloaked!" rule (closes: #546004)
- added "Peer unexpectedly shrunk window" alternate rule
+ - allow '-' in usbcore interface driver names (e.g. snd-usb-audio)
* ignore.d.workstation/kernel:
- added UDF-fs "readonly partition" and "Mounting volume" rules
diff --git a/rulefiles/linux/ignore.d.server/kernel b/rulefiles/linux/ignore.d.server/kernel
index 93ba721..e628aff 100644
--- a/rulefiles/linux/ignore.d.server/kernel
+++ b/rulefiles/linux/ignore.d.server/kernel
@@ -69,7 +69,7 @@
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? st: Version [[:digit:]]+, fixed bufsize [[:digit:]]+, s/g segs [[:digit:]]+
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? tun: Universal TUN/TAP device driver, [.[:digit:]]+$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? tun: \(C\) 1999-2[[:digit:]]+ Max Krasnyansky <maxk at qualcomm.com>$
-^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usbcore: registered new interface driver [_[:alnum:]]+$
+^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usbcore: registered new interface driver [-_[:alnum:]]+$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? usbmon: debugfs is not available$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ kernel:( \[ *[[:digit:]]+\.[[:digit:]]+\])? PnPBIOS: (get_stat_res|escd_info|isapnp_config): function not supported on this system$
^\w{3} [ :[:digit:]]{11} [._[:alnum:]-]+ modprobe: FATAL: Error inserting apm \([^[:space:]]+\): No such device$
More information about the Logcheck-commits
mailing list