[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to prevent daemons from ever being started?



also sprach Uwe Hermann <uwe@hermann-uwe.de> [2006.05.15.1009 -0500]:
> What is "the Debian way" to prevent any daemon from ever starting,
> whether upon reboot, upon upgrade, upon new install etc.

Right now, the best you can do is

>  * /usr/sbin/update-rc.d -f foobar remove
>    to prevent the starting of the daemon upon reboot. However, most
>    often this will have to be done _again_ if the foobar package is
>    upgraded...

and then run

  update-rc.d foobar stop 0 0 1 2 3 4 5 6 .

This will "stop" it on startup, and if the package is upgraded,
update-rc.d will not install new links, because some are already in
place.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
"wer in einem gewissen alter nicht merkt, daß er hauptsächlich von
 idioten umgeben ist, merkt das aus einem gewissen grund nicht."
                                                        -- kurt götz

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: