Bringing forth runit integration regarding desktop environments

Matthias Geiger werdahias at riseup.net
Sun Nov 10 14:19:56 GMT 2024


On Sat, 09 Nov 2024 13:40, Martin Steigerwald <martin at lichtvoll.de> wrote:
>Hi!
>
>Today I managed to take some time again and go about bringing forth runit
>integration. Thankfully Mathias, the maintainer of Incus packages, agreed
>to accept a merge request:
>
>#1084990 incus: runit service dir for incus
>https://bugs.debian.org
>
>I am now trying my luck with lxcfs as well:
>
>#1087185 lxcfs: runit service dir for lxcfs
>https://bugs.debian.org/1087185
>
Great !
>
>And again I also wondered about pipewire integration as well. AFAIR
>according to some discussion about it this cannot really be handled as a
>system service, but needs to be tied to the user session, probably by
>DBUS activation.
>
>Maybe what Alpine does there would be a good approach:
>
>https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/community/pipewire/pipewire-launcher.sh
>
>I believe I read from a Devuan user that this would work. But I did not
>find that mail anymore. So I am not completely sure where to integrate
>Pipewire startup properly.
>
As openRC user I used the following approach: Dropped the alpine script
in /usr/share/libexec and then my WM calls this during startup (wrapped
in a dbus-session). 

>I would like to get both of those work on my laptops first. But once I
>have a working approach, I'd look at asking whether maintainers would
>accept merge request. Otherwise power-profiles-daemon can go into
>runit-services package. I am not sure about Pipewire startup. Maybe it
>would need to go into an extra package if the pipewire package maintainers
>do not like to see Runit integration in their package.
If you plan to ship alpines' launcher in a separate package feel free to
reach out to me for an upload to NEW. This would streamline things; sad
that the pipewire maintainers won't accept this. Because it's a "user
service" and not a classical init script I think this is the best way
forward.

Personally, I am a big fan of pipewire, way better than the mess that
pulseaudio is. I hope it supersedes /replaces it soon.

best,

werdahias



More information about the Debian-init-diversity mailing list