Re: Bug#727708: tech-ctte: Decide which init system to default to in Debian.
On 31/10/13 12:27, Thorsten Glaser wrote:
> On Thu, 31 Oct 2013, Florian Weimer wrote:
>> Curiously, a lot of system administrators do not do this correctly
>> using sysvinit, causing system daemons to start unexpectedly after
>> installing package updates.
> What *is* the correct way, anyway?
My understanding is that something like `update-rc.d $service disable`
is the recommended way these days, and I recommend that in a couple of
game server packages (which seem like a likely thing to want to install
but only run infrequently or manually).
sysv-rc's update-rc.d understands how to disable either insserv/sysv-rc
or systemd services; it doesn't appear to understand Upstart or OpenRC
yet, but perhaps one or both of those dpkg-diverts it, and has a
replacement that does.
file-rc ships its own update-rc.d implementation (at least, according to
the package description it does) which hopefully has the enable/disable