init-system-helpers updates for native openrc

Matthias Geiger werdahias at riseup.net
Sun Nov 22 18:35:24 GMT 2026


On Sun, 22 Nov 2026 18:39, Mark Hindley <mark at hindley.org.uk> wrote:
>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.
>
I think we're talking about two distinct issues here. One is your set of 
patches setting the correct runlevels for openrc-native. I actually 
meant service (from i-s-h) currently is missing the check I mentioned 
above. In that case, a sysvinit service must never be started. If I 
understood correctly, your patches already take care of the runlevels 
and does not execute sysv-specific action, but rather rc-update.

Still, service(8) needs such a check IMO. Then, the only remainder in 
i-s-h is a deb-openrc-helper utility.

best,

-- 

Matthias Geiger <werdahias>

Debian Developer -- KiCad Contributor
GPG: ECBEDBB607B9B2BE



More information about the Debian-init-diversity mailing list