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

Re: How to prevent daemons from starting at boot after update?



On 27.11.2012 22:47, Adrian Fita wrote:
> - my current runlevel is 2, I made sure that cups is indeed disabled:
> /etc/rc2.d/K02cups

What does ls -la /etc/rc?.d/???cups say?

If you properly disable cups via update-rc.d, the service is not run via
invoke-rc.d. I've just tested this on my system.

root@pluto:~# ls /etc/rc?.d/???cups
/etc/rc1.d/K01cups  /etc/rc3.d/S19cups  /etc/rc5.d/S19cups
/etc/rc2.d/S19cups  /etc/rc4.d/S19cups

root@pluto:~# /etc/init.d/cups status
Status of Common Unix Printing System: cupsd is not running.

root@pluto:~# update-rc.d cups disable
update-rc.d: using dependency based boot sequencing
insserv: warning: current start runlevel(s) (empty) of script `cups'
overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (1 2 3 4 5) of script `cups'
overrides LSB defaults (1).

root@pluto:~# ls /etc/rc?.d/???cups
/etc/rc1.d/K01cups  /etc/rc3.d/K01cups  /etc/rc5.d/K01cups
/etc/rc2.d/K01cups  /etc/rc4.d/K01cups

root@pluto:~# invoke-rc.d cups start

root@pluto:~# /etc/init.d/cups status
Status of Common Unix Printing System: cupsd is not running.



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: