[Logcheck-devel] Bug#355649: logcheck: ntp 'adjusting local clock' only matches positive corrections

Robert Edmonds edmonds at debian.org
Tue Mar 7 00:51:44 UTC 2006


Package: logcheck
Version: 1.2.43a
Severity: minor

/etc/logcheck/ignore.d.server/ntp contains:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: adjusting local clock by [.0-9]+s$

However, this will not match negative corrections such as:

System Events
=-=-=-=-=-=-=
Mar  5 01:44:55 billchase ntpd[6171]: adjusting local clock by -0.190112s
Mar  5 01:55:20 billchase ntpd[6171]: adjusting local clock by -0.181540s

Please change this rule to:

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: adjust time server [-.0-9]+ offset$

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages logcheck depends on:
ii  adduser          3.85                    Add and remove users and groups
ii  cron             3.0pl1-93               management of regular background p
ii  debconf [debconf 1.4.71                  Debian configuration management sy
ii  debianutils      2.15.3                  Miscellaneous utilities specific t
ii  grep             2.5.1.ds2-4             GNU grep, egrep and fgrep
ii  lockfile-progs   0.1.10                  Programs for locking and unlocking
ii  logcheck-databas 1.2.43a                 database of system log rules for t
ii  logtail          1.2.43a                 Print log file lines that have not
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  nullmailer [mail 1:1.02-1                simple relay-only mail transport a
ii  sysklogd [system 1.4.1-17.1              System Logging Daemon

logcheck recommends no packages.

-- debconf information excluded

-- 
Robert Edmonds
edmonds at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20060306/cab82778/attachment.pgp 


More information about the Logcheck-devel mailing list