[pkg-ntp-maintainers] Bug#764546: ntp: Init script returns 5 if the daemon is not executable

Felipe Sateler fsateler at debian.org
Wed Oct 8 22:50:03 UTC 2014


Package: ntp
Version: 1:4.2.6.p5+dfsg-3.1
Severity: normal

The ntp init script has this check:

test -x $DAEMON || exit 5

Which means that if ntp has been removed but not purged, the ntp script
will fail at boot. With systemd actually checking the return code of
init scripts, this results in the system being flagged as not correctly
booted.

The script should return 0 if the daemon is not executable

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ntp depends on:
ii  adduser      3.113+nmu3
ii  dpkg         1.17.16
ii  libc6        2.19-11
ii  libcap2      1:2.24-6
ii  libedit2     3.1-20140620-2
ii  libopts25    1:5.18.4-3
ii  libssl1.0.0  1.0.1i-2
ii  lsb-base     4.1+Debian13
ii  netbase      5.2

Versions of packages ntp recommends:
ii  perl  5.20.1-1

Versions of packages ntp suggests:
pn  ntp-doc  <none>



More information about the pkg-ntp-maintainers mailing list