[Pkg-sysvinit-devel] Re: Suggest new: "update-rc.d <package>
disable"
Thomas Hood
jdthood at yahoo.co.uk
Wed Nov 9 13:20:24 UTC 2005
pkg-sysvinit-devel-request at lists.alioth.debian.org wrote:
> On the debian-user list, I asked the question:
>
> "How do I configure a service to *NEVER EVER START* automatically? So
> this choice survives a "apt-get dist-upgrade"?" (which re-recreates any
> links removed in the past)
> http://lists.debian.org/debian-user/2005/11/msg00630.html
>
> The answer I liked best was to leave an active (K?) link after running
> "update-rc.d name remove".
The right thing to do is to configure the service to be stopped in
all runlevels. In sysv-rc this means that the symlinks for the
service should be all K in runlevels 2 through 5.
> Do you know of a more elegant way to accomplish this?
Use a runlevel editor such as bum or sysv-rc-conf.
> Otherwise, may I suggest that (at least the man page of) update-rc.d be
> enhanced to handle this?
update-rc.d is an interface for maintainer scripts to use. It wasn't
intended to be used by the administrator.
--
Thomas Hood
More information about the Pkg-sysvinit-devel
mailing list