[pkg-ntp-maintainers] Bug#540694: Bug#540694: /etc/init.d/ntp: stop action just kills daemon; redundant with sendsigs

Josh Triplett josh at joshtriplett.org
Sun Aug 9 20:15:42 UTC 2009


On Sun, Aug 09, 2009 at 09:01:14PM +0200, Kurt Roeckx wrote:
> On Sun, Aug 09, 2009 at 10:36:08AM -0700, Josh Triplett wrote:
> > Package: ntp
> > Version: 1:4.2.4p6+dfsg-2
> > Severity: normal
> > File: /etc/init.d/ntp
> > 
> > "/etc/init.d/ntp stop" just sends a signal to ntp.  Thus, it doesn't
> > need to run at all; sendsigs will already signal all running processes
> > shortly afterward during the shutdown/reboot process.  Please remove all
> > the runlevels from the "Default-Stop" section of the init script header,
> > so that /etc/init.d/ntp does not run at shutdown/reboot.
> 
> You mean it should be replaced by just runlevel 1, and remove
> 0 and 6?

I suppose so, yeah, assuming you do want to kill ntp when going into
single-user mode.

- Josh Triplett





More information about the pkg-ntp-maintainers mailing list