[pkg-ntp-maintainers] Bug#502600: ntpd exits immediately if ntpdate is installed but lockfile-progs isn't

Peter J. Holzer hjp-debian at hjp.at
Sat Oct 18 08:48:03 UTC 2008


Package: ntp
Version: 1:4.2.4p4+dfsg-7
Severity: important


The ntpdate package contains a script /etc/network/if-up.d/ntpdate which
is executed whenever a network interface is brought up. During normal
startup, before this script finishes, /etc/rc*.d/S23ntpd is called. ntpd
is started, fails to bind to port 123 (because ntpdate is still running)
and immediately exits.

/etc/network/if-up.d/ntpdate and /etc/init.d/ntpd try to use a lock file
to prevent this - but this works only if lockfile-progs is installed,
which wasn't the case on my system.

I suggest that lockfile-progs is added to the dependencies of both ntpd
and ntpdate.

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

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
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.34            Basic TCP/IP networking system

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

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

-- no debconf information





More information about the pkg-ntp-maintainers mailing list