[Michael Biebl] > I was wondering, how to correctly disable a service with insserv.
I believe the correct way is to rename the S?? to K?? to document that the service is disabled. > Renaming S?? to K?? on the other hand doesn't seem to make sense > with insserv, as the priorities are not fixed and maybe confuse > insserv when it calculates the stop priorities. I do not believe it confuses insserv. > Imho insserv should have a option to disable a service completely. > An idea would be to store this information in a state file > /etc/init.d/.depend.disabled. Duplicating the information seem like a bad idea to me. > insserv -D --disable would disable the service and add it to the > state file insserv -e --enable would enable the service and remove > it from the state file. Such feature should be specified in the update-rc.d API, and implemented all over. Doing it only for insserv is not a good way for Debian, as we need to have a common way for all boot systems. Happy hacking, -- Petter Reinholdtsen _______________________________________________ initscripts-ng-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/initscripts-ng-devel

