[Logcheck-commits] r1312 - in logcheck/trunk: debian rulefiles/linux/ignore.d.workstation rulefiles/linux/violations.d

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Mon Nov 13 16:22:32 CET 2006


Author: madduck
Date: 2006-11-13 16:22:32 +0100 (Mon, 13 Nov 2006)
New Revision: 1312

Added:
   logcheck/trunk/rulefiles/linux/violations.d/kernel
Modified:
   logcheck/trunk/debian/changelog
   logcheck/trunk/debian/logcheck-database.lintian-overrides
   logcheck/trunk/rulefiles/linux/ignore.d.workstation/kernel
Log:
* violations.d/kernel: added to elevate messages about media errors.
* ignore.d.server/kernel: ignore startup configuration printout by sk98lin.

Modified: logcheck/trunk/debian/changelog
===================================================================
--- logcheck/trunk/debian/changelog	2006-11-13 15:10:36 UTC (rev 1311)
+++ logcheck/trunk/debian/changelog	2006-11-13 15:22:32 UTC (rev 1312)
@@ -23,8 +23,10 @@
   * ignore.d.workstation/kernel: ignore more messages related to USB hotplug.
   * ignore.d.server/ssh: ignore listening notices for all ports, not just 22.
   * ignore.d.server/kernel: ignore startup banners by tun/tap driver.
+  * violations.d/kernel: added to elevate messages about media errors.
+  * ignore.d.server/kernel: ignore startup configuration printout by sk98lin.
 
- -- martin f. krafft <madduck at debian.org>  Mon, 13 Nov 2006 16:10:12 +0100
+ -- martin f. krafft <madduck at debian.org>  Mon, 13 Nov 2006 16:22:04 +0100
 
 logcheck (1.2.50) unstable; urgency=low
 

Modified: logcheck/trunk/debian/logcheck-database.lintian-overrides
===================================================================
--- logcheck/trunk/debian/logcheck-database.lintian-overrides	2006-11-13 15:10:36 UTC (rev 1311)
+++ logcheck/trunk/debian/logcheck-database.lintian-overrides	2006-11-13 15:22:32 UTC (rev 1312)
@@ -1,5 +1,6 @@
 logcheck-database binary: non-standard-file-perm etc/logcheck/cracking.d/logcheck 0640 != 0644
 logcheck-database binary: non-standard-file-perm etc/logcheck/cracking.d/smartd 0640 != 0644
+logcheck-database binary: non-standard-file-perm etc/logcheck/violations.d/kernel 0640 != 0644
 logcheck-database binary: non-standard-file-perm etc/logcheck/violations.d/logcheck 0640 != 0644
 logcheck-database binary: non-standard-file-perm etc/logcheck/violations.d/smartd 0640 != 0644
 logcheck-database binary: non-standard-file-perm etc/logcheck/violations.d/su 0640 != 0644

Modified: logcheck/trunk/rulefiles/linux/ignore.d.workstation/kernel
===================================================================
--- logcheck/trunk/rulefiles/linux/ignore.d.workstation/kernel	2006-11-13 15:10:36 UTC (rev 1311)
+++ logcheck/trunk/rulefiles/linux/ignore.d.workstation/kernel	2006-11-13 15:22:32 UTC (rev 1312)
@@ -122,7 +122,7 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: EXT3 FS on [^[:space:]]+, internal journal$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: EXT3-fs: mounted filesystem with ordered data mode\.$
 # connection of usb devices
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usb [-.[:digit:]]+: reset full speed USB device using ohci_hcd and address [[:digit:]]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usb [-.[:digit:]]+: reset (full|high) speed USB device using [oe]hci_hcd and address [[:digit:]]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usb [-.[:digit:]]+: not running at top speed; connect to a high speed hub$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: usb-storage: device found at [[:digit:]]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:space:]]*Vendor: [-_. [:alnum:]]+Model: [-_. [:alnum:]]+Rev: [-_. [:alnum:]]+$
@@ -140,3 +140,11 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: PM: Writing back config space on device [[:alnum:]:.]+ at offset [0-9] \(was [0-9]+, writing [0-9]+\)$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: loop: loaded \(max [0-9]+ devices\)$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: oprofile: using NMI interrupt\.$
+# sk98lin output
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:space:]]+speed:[[:space:]]+100?0?$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:space:]]+autonegotiation:[[:space:]]+(yes|no)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:space:]]+duplex mode:[[:space:]]+(full|half)$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:space:]]+flowctrl:[[:space:]]+a?symmetric$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:space:]]+irq moderation:[[:space:]]+(en|dis)abled$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:space:]]+scatter-gather:[[:space:]]+(en|dis)abled$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:space:]]+[rt]x-checksum:[[:space:]]+(en|dis)abled$

Added: logcheck/trunk/rulefiles/linux/violations.d/kernel
===================================================================
--- logcheck/trunk/rulefiles/linux/violations.d/kernel	2006-11-13 15:10:36 UTC (rev 1311)
+++ logcheck/trunk/rulefiles/linux/violations.d/kernel	2006-11-13 15:22:32 UTC (rev 1312)
@@ -0,0 +1,2 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: [[:alnum:]]+: media error \(bad sector\): status=0x[[:xdigit:]]+ { DriveReady SeekComplete Error }$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ kernel: end_request: I/O error, dev [[:alnum:]]+, sector [[:digit:]]+




More information about the Logcheck-commits mailing list