[Pkg-logwatch-general] r36 - trunk/patches

Willi Mann willi-guest at costa.debian.org
Sat Mar 25 13:46:12 UTC 2006


Author: willi-guest
Date: 2006-03-25 13:46:11 +0000 (Sat, 25 Mar 2006)
New Revision: 36

Modified:
   trunk/patches/service-smartd.diff
Log:
Update the smartd diff


Modified: trunk/patches/service-smartd.diff
===================================================================
--- trunk/patches/service-smartd.diff	2006-03-25 13:37:46 UTC (rev 35)
+++ trunk/patches/service-smartd.diff	2006-03-25 13:46:11 UTC (rev 36)
@@ -1,7 +1,7 @@
-diff -ur logwatch-7.2.1.b/scripts/services/smartd logwatch-7.2.1/scripts/services/smartd
---- logwatch-7.2.1.b/scripts/services/smartd	2006-03-25 11:21:03.000000000 +0100
-+++ logwatch-7.2.1/scripts/services/smartd	2006-03-25 11:23:58.000000000 +0100
-@@ -32,6 +32,10 @@
+diff -ur logwatch-7.3.b/scripts/services/smartd logwatch-7.3/scripts/services/smartd
+--- logwatch-7.3.b/scripts/services/smartd	2006-03-25 14:37:58.000000000 +0100
++++ logwatch-7.3/scripts/services/smartd	2006-03-25 14:44:47.000000000 +0100
+@@ -41,6 +41,10 @@
         # ignore
     } elsif ( ($Device) = ($ThisLine =~ /^Device: ([^,]+), enabled autosave \(cleared GLTSD bit\)\./ )) {
         # ignore
@@ -9,14 +9,6 @@
 +       # ignore
 +   } elsif ( ($Device) = ($ThisLine =~ /^Device: ([^,]+), enabled SMART Automatic Offline Testing/ )) {
 +       # ignore
-    } elsif ( ($Device,$Test) = ($ThisLine =~ /^Device: ([^,]+), starting scheduled (Short|Long) Self-Test\./ )) {
-        # ignore
     } elsif ( ($Device) = ($ThisLine =~ /^Device: ([^,]+), Self-Test Log error count increased from \d+ to \d+/ )) {
-@@ -60,6 +64,7 @@
-           || ($ThisLine =~ /smartd received signal 15: Terminated/)
-           || ($ThisLine =~ /smartd is exiting \(exit status 0\)/)
-           || ($ThisLine =~ /smartd has fork/)
-+          || ($ThisLine =~ /^file \S+ written containing PID \d+/)
-           || ($ThisLine =~ /smartd startup succeeded/)  ) {
         # ignore
- 
+    } elsif ( ($Device,$Msg) = ($ThisLine =~ /^Device: ([^,]+), new Self-Test Log error at hour timestamp \d+/ )) {




More information about the Pkg-logwatch-general mailing list