Re: [bug] Restarting Daemons on package install/upgrade.
Karl M. Hegbloom writes:
> Even though I have removed the symlink to it from the runlevel directory,
> and it's not started during boot or runlevel change, when I run
> `adduser', it starts the `nscd'.
Looks like /etc/init.d/skeleton and therefor most of the scripts in
/etc/init.d suffer from the same bug. It seems to me that 'restart' and
'reload' should test the exit status of 'start-stop-daemon --start' and
exit if it failed. As it is they just run 'start-stop-daemon --start'
anyway.
--
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin
Reply to: