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

Peter Eisentraut petere at debian.org
Thu Jan 8 04:11:51 UTC 2015


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.)



More information about the pkg-ntp-maintainers mailing list