Re: Standard way to disable services
- To: debian-devel@lists.debian.org
- Subject: Re: Standard way to disable services
- From: Petter Reinholdtsen <pere@hungry.com>
- Date: Sat, 02 Aug 2008 18:47:35 +0200
- Message-id: <[🔎] 2fly73fjrdk.fsf@klodrik.uio.no>
- References: <20080726131854.2de9ad3a@sbs173> <1217074286.5516.1.camel@tomoyo> <20080726172049.GD31293@dario.dodds.net> <488B5E7F.9060206@debian.org> <20080726174001.GE31293@dario.dodds.net> <34644.192.168.0.1.1217294807.squirrel@www.klabs.be> <20080729015826.GA9268@khazad-dum.debian.net> <20080731083205.GA21184@bogon.ms20.nix> <20080731140239.GC19665@khazad-dum.debian.net>
[Henrique de Moraes Holschuh]
> sysv-init's way to do what you want is to move the links from S to
> K. That's about the beggining and end of the issue. If insserv is
> breaking this, it means you have a missing (important) feature in
> insserv that needs fixing. But that doesn't have anything to do
> with invoke-rc.d and policy-rc.d.
insserv uses the state of symlink as configuration for knowing if a
service is enabled for a given runlevel, and accept changes from S to
K. But it will reorder the scripts according to dependencies,
obviously. :)
Happy hacking,
--
Petter Reinholdtsen
Reply to: