[Pkg-sysvinit-devel] Bug#805487: sysvinit: consider moving invoke-rc.d, update-rc.d and service to src:init-system-helpers

Andreas Henriksson andreas at fatal.se
Fri Nov 20 06:10:57 UTC 2015


Another status update/for the record:

Spent this morning reading through invoke-rc.d and didn't really spot
anything useful to adjust related to moving the files.

One might take the chance to comment on that it seems the
systemctl/systemd related part at the end seems pretty much to be a
duplication of the LSB init hooks shipped by systemd.
(/lib/lsb/init-functions.d/40-systemd)
Possibly that part of invoke-rc.d could just be removed and when running
under systemd the init script would be executed which should in turn be
redirected to systemctl commands. This would be slightly less effective
(but avoid duplication), but the major drawback would probably be that
in case a package has only a systemd unit and no equivalent init script
then that would totally fail.... so leaving things as they are is likely
desired despite the duplication.

Regards,
Andreas Henriksson



More information about the Pkg-sysvinit-devel mailing list