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




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to