[pkg-ntp-maintainers] Bug#515246: ntpdate: unclear when settimeofday() is used

Jakub Wilk ubanus at users.sf.net
Sun Feb 15 09:53:35 UTC 2009


Package: ntpdate
Version: 1:4.2.4p4+dfsg-8
Severity: normal

ntpdate manual page contradicts itself w.r.t. when the settimeofday() 
routine is used to set time:

[...]

If ntpdate determines the clock is in error more than 0.5 second it  
will simply step the time by calling the system settimeofday() routine. 
If the error is less than 0.5 seconds, it will slew the time by calling 
the system adjtime() routine. 

[...]

The default is to step the time using settimeofday() if the offset is 
greater than +-128 ms.

[...]

-- System Information:
Debian Release: 5.0
   APT prefers unstable
   APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ntpdate depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  libcap1                       1:1.10-14  support for getting/setting POSIX.
ii  libssl0.9.8                   0.9.8g-15  SSL shared libraries
ii  netbase                       4.34       Basic TCP/IP networking system

Versions of packages ntpdate recommends:
pn  lockfile-progs                <none>     (no description available)

ntpdate suggests no packages.

-- no debconf information

-- 
Jakub Wilk





More information about the pkg-ntp-maintainers mailing list