openRC user services

Martin Steigerwald martin at lichtvoll.de
Tue Apr 1 09:21:15 BST 2025


Hi Mark, hi Matthias, hi Lorenzo.

@Lorenzo: Adding you in, as I wrote about Runit support for unit 
translator and whether to ask for inclusion of Runit integration for DBUS 
in upstream package.

Mark Hindley - 01.04.25, 10:12:13 CEST:
> Matthias
> 
> On Mon, Mar 31, 2025 at 10:56:22PM +0200, Matthias Geiger wrote:
> > This is a huge improvement IMO, and I would like to get wider adoption
> > of openRC. Because this is fairly new, not much services have been
> > written. An example can be seen here: [0]
> > I'd plan to collect of list of user services and then test them under
> > Debian with openRC. I'm unsure where to get them included. Most
> > upstreams likely won't accept MRs for this :( .
> 
> I agree this would be an uphill struggle.  My personal opinion is that
> maintaining scripts in a separate package would also be a complete PITA.
> 
> The solution I envisage is to generate openrc scripts from the unit
> files with src:utrans. I added initial user script support to my local
> git yesterday!

Wow. Just another reason to really look into your unit translator. Maybe I 
really like to give it a go for Runit. However… runit service directories 
are quite different, so I am not sure whether it would fit. But would be 
nice if it does.

> The generated scripts are not always identical or quite as clean as a
> handcrafted one[1], but in general they are functional. The only one I
> know doesn't work is /usr/lib/systemd/user/dbus.service as it uses a
> systemd-specific address.
> 
> But smcv is always very reasonable and I think it strengthens the
> argument to ship an openrc user file in src:bus if the generated one is
> broken (just as src:dbus still includes an LSB initscript).

Wow that is nice of Simon. Maybe for Forky he could also include Runit 
support. It is now in runit-services package. I may go about asking him if 
that is okay with you Lorenzo. But for sure not for Trixie anymore.

Today I received a very friendly and elaborated mail from Mathias Gibbens 
about my work for Runit integration for LXCFS and Incus. I really 
appreciate that!

Best,
-- 
Martin





More information about the Debian-init-diversity mailing list