On Fri, 9 May 2014 10:22:36 +0200 Filip <fi...@fbvnet.be> wrote: > If insserv -r removes the link, is there a chance will it get silently > recreated when dpkg updates or reinstalls the package ? That would be > one reason not to use it.
So, I did a test. insserv -r does delete the link in all runlevels. And a subsequent apt-get install --reinstall recreates the link, and in doing so it gets silently reenabled. With update-rc.d, the link is renamed from S... to K.., and apt-get install --reinstall recognizes it as a configuration file and leaves it alone, which is as it should be. My conclusion: if you don't want the services that you thought you had disabled to be re-enabled behind you back when you run an upgrade, don't use insserv -r as the wiki page tell you to, use update-rc.d, at least for sysvinit. But then, what about a system that boots with systemd. systemctl or update-rc.d ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140509112320.60e0221f@mycroft