[pkg-ntp-maintainers] Bug#490225: /etc/network/if-up.d/ntpdate: line 35: lockfile-create: command not found
Sven-Haegar Koch
haegar at sdinet.de
Thu Jul 10 20:33:58 UTC 2008
Package: ntpdate
Version: 1:4.2.4p4+dfsg-6
Severity: minor
Since a little while ntpdate reports at "ifup" time:
aurora:~# ifup eth0
/etc/network/if-up.d/ntpdate: line 35: lockfile-create: command not found
The program is available as /usr/bin/lockfile-create (otherwise the if block
wouldn't execute), but /usr/bin is not in the PATH anymore - shortly before
calling lockfile-create the ntpdate script sources
/lib/udev/hotplug.functions, which contains:
PATH='/sbin:/bin'
(at least in the installed udev 0.124-2)
I think either the udev PATH statement should be changed (then please
reassign this bug), or ntpdate should call the lockfile programs with
full path.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-sdinet53-aurora (SMP w/2 CPU cores)
Locale: LANG=en_US.ISO-8859-1, LC_CTYPE=de_DE.ISO-8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages ntpdate depends on:
ii libc6 2.7-12 GNU C Library: Shared libraries
ii libcap1 1:1.10-14 support for getting/setting POSIX.
ii libssl0.9.8 0.9.8g-10.1 SSL shared libraries
ii netbase 4.32 Basic TCP/IP networking system
Versions of packages ntpdate recommends:
ii lockfile-progs 0.1.11-0.1 Programs for locking and unlocking
-- debconf information:
* shared/ntp/servers:
More information about the pkg-ntp-maintainers
mailing list