Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#498992: ntp: logcheck sends "kernel time sync status change 0001" (and 4001) notifications every 30-40 minutes

290 views
Skip to first unread message

Dmitry Semyonov

unread,
Sep 15, 2008, 5:10:14 AM9/15/08
to
Package: ntp
Version: 1:4.2.4p4+dfsg-7
Severity: minor


What does these log entries mean?

If they are not important, then

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: kernel time sync (disabled|enabled) [0-9]+$

should be changed to

^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: kernel time sync (disabled|enabled|status change) [0-9]+$

in /etc/logcheck/ignore.d.server/ntp.

Now I have to do this by myself to suppress a flood of notifications from logcheck.


-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages ntp depends on:
ii adduser 3.110 add and remove users and groups
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libedit2 2.11~20080614-1 BSD editline and history libraries
ii libncurses5 5.6+20080830-1 shared libraries for terminal hand
ii libssl0.9.8 0.9.8g-13 SSL shared libraries
ii lsb-base 3.2-20 Linux Standard Base 3.2 init scrip
ii netbase 4.33 Basic TCP/IP networking system

Versions of packages ntp recommends:
ii perl 5.10.0-13 Larry Wall's Practical Extraction

Versions of packages ntp suggests:
pn ntp-doc <none> (no description available)

-- no debconf information

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Kurt Roeckx

unread,
Sep 15, 2008, 3:10:30 PM9/15/08
to
On Mon, Sep 15, 2008 at 01:56:12AM -0700, Dmitry Semyonov wrote:
> Package: ntp
> Version: 1:4.2.4p4+dfsg-7
> Severity: minor
>
>
> What does these log entries mean?

Toggling between 0x4001 amd 0x0001 seems to mean that you change between
PLL and FLL mode:
#define STA_MODE 0x4000 /* mode (0 = PLL, 1 = FLL) (ro) */

The current version seems to be able to generate:
kernel time sync error %04x
kernel time sync status change %04x
kernel time sync status %04x
kernel time sync disabled %04x

And I think "status" and "status change" can be ignored, and I think I
would like to be notified about the other cases.


Kurt

0 new messages