[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Not stopping daemons, where are we?



On Tue, 01 Jul 2008, Josselin Mouette wrote:
> Le mardi 01 juillet 2008 à 11:55 +0100, James Westby a écrit :
> > Given that in runlevels 0 and 6 there is an init script that terminates
> > all running processes it is a waste to run an init script for each
> > process before that. In Ubuntu we remove the scripts that do nothing
> > more than terminate a process, and rely on the final script to clean up
> > the running processes. 
> 
> I don???t think there has been any decision on this topic. I don???t have
> anything against such a move, but I think we need a clear consensus on
> whether this is a good idea.

To put it buntly: it is a per-package choice.  Some daemons benefit from
more time for cleanups, some initscripts do extra cleanup.  While some
don't, and really have no reason to need anything else than the killall5
-TERM will do.

AFAIK, bugs were filled on packages that only simply stop daemons asking for
the maintainers to check if they could forego the stop hook on runlevels 0
and 6.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: