init-system-helpers updates for native openrc
Mark Hindley
mark at hindley.org.uk
Sun Nov 22 17:39:48 GMT 2026
Hi,
On Sun, Nov 22, 2026 at 03:56:10PM +0100, Matthias Geiger wrote:
> I can't comment on the code, but I will try to build a i-s-h package with
> those changes and test it. One additional note:
>
> Does this include a check to not call update-rc.d when native openrc is
> running? I think I started work on that. sysv services can never work under
> openrc-native and thus must not be started on package installation.
No. the point is that with these patches, update-rc.d handles native openrc
scripts as well as LSB.
There might need to be handling to exclude LSB scripts from openrc-native. But
the history of such runtime checks within init-system-helpers is poor (consider the
insserv check disliked by systemd maintainers and also the rc-update check these
patches remove). It may well be better to handle that in opernc-native by
checking the shebang, or similar.
But let's see. It wouldn't be difficult to add in i-s-h if we decide that is
best.
Mark
More information about the Debian-init-diversity
mailing list