On Thu, 28 May 2026 16:37, Ansgar 🙀 <[email protected]> wrote:
On Thu, 28 May 2026 16:13:09 +0200 Matthias Geiger wrote:
for native openrc services, lintian emits an informational tag:

I: openrc-native: init.d-script-does-not-implement-status-option 
[etc/init.d/binfmt]

This script (and all native openrc scripts) start with /sbin/openrc-run;
thus, please do not emit this tag, which only applies for sysv init scripts.

etc/init.d is for sysv init scripts. So the warning seems correct?

openRC also supports /etc/init.d as location for its init scripts.
Anything shipped there should for example include LSB headers, source
/lib/lsb/init-functions and so on. I'm not sure openrc would do that
given they don't use a shell as an interpreter?

If packages ship incompatible scripts for alternative init systems,
they should be shipped in a different location such as
usr/lib/openrc/init or so.

That has been resolved by having a conflict between openrc with sysvinit support and native openrc with native init scripts.
(And please don't add conffiles to generic packages for alternative
init systems. Conffiles are often handled badly by packages. Conffiles
that stay around after switching init and then break other init systems
due to missing LSB headers and/or interpreters also seem like a
problem.)

That is not a conffile, but an openrc init script.

best,

werdahias

Reply via email to