Your message dated Sun, 6 Feb 2011 22:05:15 +0100
with message-id <20110206210515.ga31...@df7cb.de>
and subject line Re: Bug#612046: RE-patterns in logcheck rules is contain 
unescaped point char ("any symbol") in many places
has caused the Debian Bug report #612046,
regarding RE-patterns in logcheck rules is contain unescaped point char ("any 
symbol") in many places
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
612046: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612046
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: logcheck
Version: 1.2.69
Severity: normal


Many, very many logcheck rules is contain the point character (.) without 
escaping character 
(\).
Example: /etc/logcheck/ignore.d.server/sendmail contain following line (1st 
line in file):
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (sendmail|sm-(mta|msp|que))\[[0-9]+\]: 
starting daemon
--------------------^
This point is unescaped and treated as any character. Because this point 
enclosed into 
square brackets, all another RE elements in these brackets does nothing, and 
specified 
RE-line is equivalented with following RE:
^\w{3} [ :0-9]{11} .+ (sendmail|sm-(mta|msp|que))\[[0-9]+\]: starting daemon

To fix, it is needed to escape point char:
^\w{3} [ :0-9]{11} [\._[:alnum:]-]+ (sendmail|sm-(mta|msp|que))\[[0-9]+\]: 
starting daemon

Errors like this discovered in each logcheck rules file!

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages logcheck depends on:
ii  adduser            3.110                 add and remove users and groups
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  cron               3.0pl1-105            management of regular background p
ii  lockfile-progs     0.1.11-0.1            Programs for locking and unlocking
ii  logtail            1.2.69                Print log file lines that have not
ii  rsyslog [system-lo 3.18.6-4              enhanced multi-threaded syslogd
ii  sendmail-bin [mail 8.14.3-5              powerful, efficient, and scalable 

Versions of packages logcheck recommends:
ii  logcheck-database             1.2.69     database of system log rules for t

Versions of packages logcheck suggests:
pn  syslog-summary                <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Re: Stas Degteff 2011-02-05 
<20110205084850.17615.91109.report...@srv.grumbler.org>
> Many, very many logcheck rules is contain the point character (.) without 
> escaping character 
> (\).
> Example: /etc/logcheck/ignore.d.server/sendmail contain following line (1st 
> line in file):
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ (sendmail|sm-(mta|msp|que))\[[0-9]+\]: 
> starting daemon
> --------------------^
> This point is unescaped and treated as any character. Because this point 
> enclosed into 
> square brackets, all another RE elements in these brackets does nothing, and 
> specified 

Hi,

this is wrong. Dots enclosed in [] are literals.

Christoph
-- 
c...@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature


--- End Message ---
_______________________________________________
Logcheck-devel mailing list
Logcheck-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/logcheck-devel

Reply via email to