Hi Sven, > Package: sysv-rc > Version: 2.88dsf-13 > Severity: normal > > The EXAMPLES section of update-rc.d.8 recommends this method to disable > a service: > > ,---- > | Example of disabling a service: > | update-rc.d -f foobar remove > | update-rc.d foobar stop 20 2 3 4 5 . > `---- > > This does not work in a dependency based boot system, because > update-rc.d ignores the arguments in last line and uses the values from > the LSB headers instead. > > Here is a patch for that: > > --8<---------------cut here---------------start------------->8--- > --- update-rc.d.8 (revision 1950) > +++ update-rc.d.8 (working copy) > @@ -284,8 +284,7 @@ > .fi > Example of disabling a service: > .nf > -.B " update\-rc.d \-f foobar remove" > -.B " update\-rc.d foobar stop 20 2 3 4 5 ." > +.B " update\-rc.d foobar disable" > .fi > Example of a command for installing a system > initialization\-and\-shutdown script: > .nf > --8<---------------cut here---------------end--------------->8---
The 'enable/disable' API is considered to be unstable by other developers and therefore was not well advertised nor documented when it was integrated. I agree with the patch but will let others decide and further discuss what makes the enable/disable feature worth hiding for longer. Thanks, Kel. _______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

