Package: adjtimex Version: 1.21.1-3 Severity: important Tags: patch adjtimex has a bug in evaluating the output of ntpdate, because 1. it assumes ntpdate outputs "adjust time server", but ntpdate may output "step time server" also 2. it doesnt stop at last line but as soon as it has found "filter offset:" lines, and because of this it will not find the "offset ..." information in the last line.
Patch to fix this behaviour: --- adjtimex-1.21.1.old/adjtimex.c 2006-10-07 14:01:09.000000000 +0200 +++ adjtimex-1.21.1/adjtimex.c 2007-08-19 11:56:04.000000000 +0200 @@ -1095,7 +1095,7 @@ } } - if (num>0 && !strstr(buf,"adjust time server")) + if (num>0 && (strstr(buf,"adjust time server") || strstr(buf,"step time server"))) goto ntpdate_okay; } failntpdate("cannot understand ntpdate output"); -- System Information: Debian Release: lenny/sid APT prefers oldstable APT policy: (500, 'oldstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.20.2 (PREEMPT) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages adjtimex depends on: ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii libc6 2.6-2 GNU C Library: Shared libraries adjtimex recommends no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]