[pkg-ntp-maintainers] Bug#481049: ntpdate-debian not handled consistently at if-up

Drew Parsons dparsons at debian.org
Tue May 13 12:03:03 UTC 2008


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

/etc/network/if-up.d/ntpdate first checks for
/lib/udev/hotplug.functions and performs a 
"wait_for_file /usr/sbin/ntpdate-debian".

Only after this does it check if /usr/sbin/ntpdate-debian is in fact
present.

The consequence is that if ntpdate is removed (for instance, because
ntp is installed), then when an interface is brought up, the
following inappropriate warning message eventually comes up:
/usr/sbin/ntpdate-debian did not appear before the timeout!

Remember that /etc/network/if-up.d/ntpdate is a conffile and so is
left in place if the package is removed without purging.

Therefore existence of ntpdate-debian should be tested before trying
to wait for it!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

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





More information about the pkg-ntp-maintainers mailing list