[Pkg-sysvinit-devel] Bug#755775: Bug#755775: sysv-rc: invoke-rc.d ignores required-stop

M. Braun michael-dev at fami-braun.de
Thu Jul 24 10:18:08 UTC 2014


Hi,

Am 23.07.2014 um 17:12 schrieb Petter Reinholdtsen:
> You seem to have misunderstood the behavour of invoke-rc.d.  It do not
> start/stop anything else than the script you specify, and do not parse
> the LSB style init.d script headers.  Why do you believe it should do
> something else?
> 

you're right, it is not state anywhere that it actually would be doing so.

On the other hand, Debian Policy Manual Section 9.3.3 states that
packages should call invoke-rc.d to start/stop services in preinst,
postinst and so on and [1] tells about declaring dependencies.

As not satisfying these already declared dependencies breaks the
applications, and as long as not all packages should implement their own
Required-Stop / Required-Start parsing, it seemed natural to me that
invoke-rc.d would do this.

Is this discussion obsoleted by systemd adoption in the next debian release?

Regards,
 M. Braun

[1] https://wiki.debian.org/LSBInitScripts



More information about the Pkg-sysvinit-devel mailing list