]] Bob Proulx 

> Russ Allbery wrote:
> > Bob Proulx writes:
> > > Maybe I am missing a better alternative?
> > 
> > update-rc.d <service> disable
> 
> No.  That is too late.  By the time you are disabling something it has
> already been installed and started in postinst scripts.  Using
> policy-rc.d is the only way to prevent unknown anythings from being
> enabled before installing.  That installation may be due to a
> dependency.  Think dnsmasq.  Also update-rc.d only configures the boot
> time configuration.  It doesn't affect things until you reboot.  It
> doesn't affect postinst scripts.  Using update-rc.d is not a solution.

Have your policy-rc.d call update-rc.d <service> disable too.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/87wq6pbylt....@xoog.err.no

Reply via email to