Package: hddtemp
Version: 0.3-beta13-7
Severity: minor
Tags: patch

The included logcheck ignore files /etc/logcheck/ignore.d.*/hddtemp
only ignore messages regarding /dev/hda.
The attached patch to fixes that for ignore.d.server/hddtemp and also
removes the empty line line in it, the wrong character class [C|F] and
accurately matches the whole syslog line like logcheck's rules do
since version 1.2.6.

Furthermore ignore.d.workstation/hddtemp should be removed as it is
identical to ignore.d.server/hddtemp and thus superflous (as logcheck
since a while processes all ignore files of lower levels than the
current one anyway, see /usr/share/doc/logcheck/README.Maintainer).

elmar

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11.7-grsecurity-2.1.5-bdclaim
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages hddtemp depends on:
ii  debconf [debconf-2.0]       1.4.48       Debian configuration management sy
ii  grep                        2.5.1.ds1-4  GNU grep, egrep and fgrep
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  sed                         4.1.4-2      The GNU sed stream editor

-- debconf information:
* hddtemp/SUID_bit: false
  hddtemp/interface: 127.0.0.1
* hddtemp/syslog: 180
* hddtemp/daemon: false
  hddtemp/port: 7634

-- 

 .'"`.                                                            /"\
| :' :   Elmar Hoffmann <[EMAIL PROTECTED]>    ASCII Ribbon Campaign  \ /
`. `'    PGP key available via pgp.net        against HTML email   X
  `-                                                    & vCards  / \
--- ignore.d.server/hddtemp~    2004-11-21 16:24:03.000000000 +0100
+++ ignore.d.server/hddtemp     2005-04-11 00:47:17.000000000 +0200
@@ -1,2 +1 @@
-hddtemp\[[0-9]+\]: /dev/hda: .*: [0-9]+ [C|F]
-
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ hddtemp\[[0-9]+\]: 
/dev/([hs]d[a-z]|sg[0-9]): .*: [0-9]+ [CF]$

Reply via email to