Re: Pre-Depends: init-system-helpers
]] 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
Reply to: