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

Bug#591791: [PATCH] Document generic and upstart-specific init-system requirements



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.



Reply to: