Bug#764546: ntp: Init script returns 5 if the daemon is not executable
On 8 Jan 2015 01:11, Peter Eisentraut pet...@debian.org wrote: On 10/8/14 6:50 PM, Felipe Sateler wrote: 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 That is the LSB exit code, but I guess that practice never really caught on. Sysvinit never checked scripts return status, so no wonder it didn't catch on. 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. Hmm, is that something that should be fixed in jessie then? Not sure if a fix would be acceptable now. You'd have to ask the release team, but given the late date and the minority of the bug I wouldn't have high hopes. (Other packages might be affected.) Probably, but ntp happened to be installed on my computer ;)
Bug#764546: ntp: Init script returns 5 if the daemon is not executable
On 10/8/14 6:50 PM, Felipe Sateler wrote: 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 That is the LSB exit code, but I guess that practice never really caught on. 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. Hmm, is that something that should be fixed in jessie then? (Other packages might be affected.) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#764546: ntp: Init script returns 5 if the daemon is not executable
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 libc62.19-11 ii libcap2 1:2.24-6 ii libedit2 3.1-20140620-2 ii libopts251: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 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org