[Pkg-utopia-maintainers] Bug#466503: dbus: Fail to remove stop scripts for runlevel 0 and 6 with file-rc and insserv

Petter Reinholdtsen pere at hungry.com
Wed Feb 20 18:34:14 UTC 2008


[Michael Biebl]
> Isn't that also a bug in insserv?
> Imho update-rc.d from insserv should always keep the information
> provided by the LSB header and the symlinks in sync.

Perhaps.  I believe that it should only use the default-* values when
the script is inserted for the first time, and after that allow the
sysadmin to control if a service is enabled or disabled in a runlevel
by changing or removing the symlinks.  See bug #464017 for a test case
to demonstrate what I mean.  This is how it work today for start
symlinks, but it does not work like that for stop symlinks.  See the
bug for details.

> I.e. if the LSB header says
> Default-Start: 2 3 4 5
> Default-Stop: 1
> the symlinks in 0 6 should be removed automatically by insserv/update-rc.d

I'm not convinced that is how it should work.  I guess it all boil
down to a question on where to update the configuration.  In the
header, or by modifying the symlinks.

Please add your view to bug #464017, to have a different view on how
it should work.

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-utopia-maintainers mailing list