logcheck filter misses kernel status changed message

Bug #534594 reported by Marc Sherman
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ntp (Debian)
Fix Released
Unknown
ntp (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: ntp

The logcheck filter shipped with ntp in karmic misses the following messages:

Mar 8 10:06:29 chunks ntpd[1000]: kernel time sync status change 6001
Mar 8 10:23:32 chunks ntpd[1000]: kernel time sync status change 2001

According to the NTP folks, these messages are expected behaviour (in a future version, they've eliminated the message):
https://support.ntp.org/bugs/show_bug.cgi?id=452#c10

In the mean time, please apply this patch to the logcheck filter:

--- ntp.orig 2010-03-08 12:36:29.771334912 -0500
+++ ntp 2010-03-08 12:37:14.191334900 -0500
@@ -3,7 +3,7 @@
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: no servers reachable$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: synchronized to ([0-9.]{7,15}|[0-9a-fA-F:.]{4,39}), stratum [0-9]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: synchronized to LOCAL\([0-9]+\), stratum [0-9]+$
-^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: kernel time sync (disabled|enabled) [0-9]+$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: kernel time sync (disabled|enabled|status change) [0-9]+$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: precision = [0-9]+\.[0-9]+ usec$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: peer ([.0-9]{7,15}|[0-9a-fA-F:.]{4,39}) now (in)?valid$
 ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ntpd\[[0-9]+\]: adjusting local clock by -?[.0-9]+s$

ProblemType: Bug
Architecture: amd64
Date: Mon Mar 8 14:13:03 2010
DistroRelease: Ubuntu 9.10
Package: ntp 1:4.2.4p6+dfsg-1ubuntu5.1
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: ntp
Uname: Linux 2.6.33-020633-generic x86_64

Tags: patch karmic
Revision history for this message
Marc Sherman (msherman-projectile) wrote :
Mathias Gug (mathiaz)
Changed in ntp (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
status: Confirmed → Triaged
tags: added: karmic
Chuck Short (zulcss)
Changed in ntp (Ubuntu):
status: Triaged → Fix Committed
Changed in ntp (Debian):
status: Unknown → New
Changed in ntp (Debian):
status: New → Fix Released
Revision history for this message
Simon Déziel (sdeziel) wrote :

This bug still exists in Lucid :

$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04

$ apt-cache policy ntp
ntp:
  Installed: 1:4.2.4p8+dfsg-1ubuntu2
  Candidate: 1:4.2.4p8+dfsg-1ubuntu2
  Version table:
 *** 1:4.2.4p8+dfsg-1ubuntu2 0
        500 http://ca.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Simon Déziel (sdeziel) wrote :

I attach a debdiff and hope this could ease an eventual SRU :)

Thank you

Revision history for this message
Richard Ayotte (rich-ayotte) wrote :

I'm still seeing this on Maverick.

tags: added: patch
description: updated
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I know it's a long time, but I'm cleaning up old NTP bugs atm.
This bug fix is actually released since Natty.

Changed in ntp (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.