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

Felipe Sateler fsateler at debian.org
Thu Jan 8 13:29:33 UTC 2015


On 8 Jan 2015 01:11, "Peter Eisentraut" <petere at 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 ;)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20150108/63082023/attachment.html>


More information about the pkg-ntp-maintainers mailing list