[Logcheck-devel] Bug#322179: logcheck-database: ignore rules for cups-lpd do not allow for non-alphanumerics in printer names

Gilbert Laycock gtl1 at mcs.le.ac.uk
Tue Aug 9 15:03:16 UTC 2005


Package: logcheck-database
Version: 1.2.39
Severity: wishlist
Tags: patch

The ignore rules for cups-lpd do not account for printers with
non-alphanumberic chars in their names, specifically _ - and . which
are relatively likely to crop up. Patch adds these three chars to the
two patterns where they seem to be needed.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (177, 'testing'), (33, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-ac12.piv
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages logcheck-database depends on:
ii  debconf [debconf-2.0]         1.4.30.13  Debian configuration management sy

-- debconf information:
* logcheck-database/rules-directories-note:
* logcheck-database/standard-rename-note:
* logcheck-database/conffile-cleanup: true
-------------- next part --------------
--- cups-lpd	2005-08-09 15:56:19.381488024 +0100
+++ cups-lpd.orig	2005-08-09 15:55:48.367202912 +0100
@@ -4,6 +4,6 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cups-lpd\[[0-9]+\]: Unknown LPD command [^[:space:]]+!$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cups-lpd\[[0-9]+\]: Command line = [[:alnum:]]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cups-lpd\[[0-9]+\]: Print waiting jobs \(no-op\)$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cups-lpd\[[0-9]+\]: Send queue state \((long|short)\) for [._[:alnum:]-]+$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cups-lpd\[[0-9]+\]: Receive print job for [._[:alnum:]-]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cups-lpd\[[0-9]+\]: Send queue state \((long|short)\) for [[:alnum:]]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cups-lpd\[[0-9]+\]: Receive print job for [[:alnum:]]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ cups-lpd\[[0-9]+\]: Closing connection$


More information about the Logcheck-devel mailing list