[Pkg-sysvinit-devel] Bug#542811: Bug#542811: Bug#542811: invoke-rc.d starts disabled startup scripts

Harald Dunkel harald.dunkel at aixigo.de
Thu Aug 27 06:39:16 UTC 2009


Hi Henrique,

Henrique de Moraes Holschuh wrote:
> 
> I recall there was a logic line in invoke-rc.d we could invert, so that when
> the target state is unknown (i.e. user did the wrong thing and REMOVED the
> links instead of using K links) we would assume the service is disabled
> instead of enabled.
> 

That would be more close to the behavior of /etc/init.d/rc.

I would suggest to take a look at the LSB-style headers of
the run level scripts in /etc/init.d .  Many do not define
symlinks for all run levels. udev (just as an example) only
defines a symlink for S. This is surely not a user error.

Maybe it would be an improvement to explitly forbid these
missing links? /etc/init.d/rc or invoke-rc.d could echo a
warning, for example.

Am I allowed to suggest some patches here?


Regards

Harri






More information about the Pkg-sysvinit-devel mailing list