Russ Allbery wrote:

> This probably should already be a Policy violation, saying that they
> should use invoke-rc.d instead.  Is there any drawback to them using
> invoke-rc.d?

Yes, I think there is a drawback.  Forgetting about upstart and
systemd for the moment, if I use "/etc/init.d/<service> start" or
"service <service> start" directly, I get a guarantee that the service
has been started.  If I use "invoke-rc.d <service> start", then the
policy hook can intercept my request and cause the daemon not to be
started but report success.

I'm not sure what the right thing to do in that case is.

Another downside is that invoke-rc.d is Debian-specific.



-- 
To UNSUBSCRIBE, email to debian-policy-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120316204603.GE29429@burratino

Reply via email to