Bug#488796: Not stopping daemons, where are we?

James Westby jw+debian at jameswestby.net
Tue Jul 1 11:44:15 UTC 2008


On Tue, 2008-07-01 at 13:29 +0200, 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.
> 

Originally Ubuntu took an approach "multiuser" that was not accepted in
to Debian. This approach has now been deprecated in favour of the one
that the patch I sent uses.

As I understand it, there is nothing magic about the approach taken, it
just doesn't install the symlinks for rc0.d and rc6.d, and expects that
the process will be cleaned up. It also reflects this in the LSB
headers, so systems which use that information should also do the same
thing.

https://wiki.ubuntu.com/Teardown
https://lists.ubuntu.com/archives/ubuntu-devel-announce/2008-June/000430.html
http://lists.debian.org/debian-devel/2008/01/msg00007.html

>From reviewing the last thread again I realise that my patch still stops
at 20 in runlevel one. Depending on the outcome of this discussion we 
may want to discuss that for this specific case in the bug report.

Thanks,

James







More information about the pkg-gnome-maintainers mailing list