[Pkg-sysvinit-devel] Bug#542811: invoke-rc.d starts disabled
Petter Reinholdtsen
pere at hungry.com
Sun Aug 23 06:30:49 UTC 2009
[Harald Dunkel]
> I just want to move a service out of reach of init and invoke-rc.d .
Right. And why does it not work to simply disable the service by
replacing start symlinks with stop symlinks in runlevels 2-5? It is
as far as know, the only way to disable a service and get predictable
behaviour.
> The point is, that invoke-rc.d and /etc/init.d/rc treat this 3rd
> choice in an inconsistent way. invoke-rc.d starts the service, if
> the symlink is missing. /etc/init.d/rc doesn't.
This is what I mean by 'undefined'. The handling of 'no symlink' is
not well defined, and you get unexpected behaviour. :)
Anyway, if I understand this request correctly, you want us to look
into how invoke-rc.d treat the lack of a symlink in the current
runlevel, and avoid starting services if no symlink is present.
Please provide more informasjon if my summary is incorrect.
Happy hacking,
--
Petter Reinholdtsen
More information about the Pkg-sysvinit-devel
mailing list