Package: logcheck-database
Version: 1.3.5
Severity: minor
Tags: patch
User: [email protected]
Usertags: origin-ubuntu lucid ubuntu-patch
Hi
( This was originally reported in Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/logcheck/+bug/116773 )
The rule to match the DEBRELEASE version of syslogd (Debian revision)
only allows for 0-9 and "." in Debian revisions; this breaks e.g.
backports or Ubuntu versions. Please find attached a patch allowing
the upsteam version without DEBRELEASE or with any possible DEBRELEASE.
Thanks,
--
Loïc Minier
diff -Nru logcheck-1.3.5/debian/changelog logcheck-1.3.5ubuntu1/debian/changelog
--- logcheck-1.3.5/debian/changelog 2010-01-01 00:14:30.000000000 +0100
+++ logcheck-1.3.5ubuntu1/debian/changelog 2010-01-21 23:36:34.000000000 +0100
@@ -1,3 +1,15 @@
+logcheck (1.3.5ubuntu1) lucid; urgency=low
+
+ * rulefiles/linux/ignore.d.paranoid/sysklogd: more specific matching of
+ upstream version and optional Debian/Ubuntu revision (DEBRELEASE), also
+ allow all allowed chars in revision fixes matching of Ubuntu versions;
+ LP: #116773.
+
+ -- Loïc Minier <[email protected]> Thu, 21 Jan 2010 23:09:45 +0100
+
logcheck (1.3.5) unstable; urgency=low
[ Hannes von Haugwitz ]
Les fichiers binaires /tmp/XIHkznoL9R/logcheck-1.3.5/docs/.README.logcheck-database.swp et /tmp/NAj5ZmFW1d/logcheck-1.3.5ubuntu1/docs/.README.logcheck-database.swp sont différents.
diff -Nru logcheck-1.3.5/rulefiles/linux/ignore.d.paranoid/sysklogd logcheck-1.3.5ubuntu1/rulefiles/linux/ignore.d.paranoid/sysklogd
--- logcheck-1.3.5/rulefiles/linux/ignore.d.paranoid/sysklogd 2007-08-23 13:44:27.000000000 +0200
+++ logcheck-1.3.5ubuntu1/rulefiles/linux/ignore.d.paranoid/sysklogd 2010-01-21 23:35:16.000000000 +0100
@@ -1 +1 @@
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ syslogd [.0-9#]+: restart\.$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ syslogd [.0-9]+(#[[:alnum:].~+]+)?: restart\.$
_______________________________________________
Logcheck-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel