Hey Fedi! If you use Linux and use an init system / service manager other than systemd, what do you like about what you are using? Everybody asks how these compare to systemd, so I wanted to see what people thought of them stand-alone.

Edit: Please do not turn this into a bashing systemd thread. systemd is fine, but I want to see why other setups are *also* fine.

#Linux #OpenRC #SystemD #RunIt #s6 #whathaveyou

In case anyone's interested in the process (assuming #postmarketOS with #OpenRC and tinydm):

1. Install
openrc-user-pam, user session starts automatically on login (assuming PAM is in use).

2. Enable user services: Tools are the same as for system services, just with
-U/--user (for the logged-in user). Pipewire and the Pulse-compatibility service must be enabled separately, they'll enable D-Bus and Wireplumber as dependencies:

$ rc-update -U add pipewire $ rc-update -U add pipewire-pulse
Remove any autostart config that'd start a conflicting Pipewire instance, e.g.
/etc/xdg/autostart/pipewire.desktop (I set that up myself a while ago, not sure what's the current default).

3. The DM session needs to use the D-Bus service of the OpenRC user session. Add a drop-in to get
DBUS_SESSION_BUS_ADDRESS provided by the dbus user service in /etc/tinydm.d/env-wayland.d/01-dbus-user-session.sh:if [ -n "$XDG_RUNTIME_DIR" ]; then . /etc/user/conf.d/dbus fiMaybe that could be part of a tinydm-openrc package or something, combined with a check that there actually is an OpenRC user session?

4. The
#Phosh desktop file from Alpine at /usr/share/wayland-sessions/phosh.desktop unconditionally starts a new D-Bus session, which puts services started from the Phosh session on a different bus than those started from the OpenRC user session.

Hacky solution: Remove
dbus-run-session from the Exec line (will be overwritten by updates). Or create your own session .desktop file and change the default session for TinyDM to it.

I've enabled #OpenRC user services for Pipewire (pipewire, pipewire-pulse, wireplumber) and D-Bus as dependency on #postmarketOS today. Works pretty well, but I had to patch phosh.desktop to not start a new D-Bus session. Someone already reported the same issue to Alpine with Sway, I think ideally D-Bus would provide a wrapper script around dbus-run-session (or an option) to only start a new session if there isn't one. Tinydm has a way to handle that, but simply removing the call entirely might break with other login managers.

I'm curious where OpenRC user services will go, I was thinking about switching to pmOS/systemd once that's ripened a bit more, but if OpenRC can manage user sessions, too, maybe not.


#AlpineLinux
sway: compatibility with openrc user services (#17017) · Issues · alpine / aports · GitLab

Package Information Package name: sway Package version: 1.10.1-r0 Alpine version: 3.22.0_alpha20250108 ...

GitLab

OpenRC user services are now a thing in Alpine and I'm migrating many things I had fragile shell scripts start.

An added benefit is that my sessions in bare ttys have proper services running too!

#AlpineLinux #OpenRC #Linux

the fact that #OpenRC user scripts require manual launching and don't start up automatically alongside the corresponding user's session is kinda disappointing

at this moment i wonder what are the real benefits compared to more traditional autostart measures

#alpinelinux

I have been a linux user for more than 20 years, and a Debian user for a good 15 years now. For the first time, I feel like something is off. systemd feels like a Frankenstein that does not belong. It makes the system feel brittle and vulnerable.

Perhaps some more reading is in order. But I am also starting to look into things like Devuan.

Thoughts? Interesting takes and links?

#linux #systemd #debian #devuan #sysvinit #openrc

Monkeying around with Devuan Linux (Excalibur) while absentmindedly listening in on a deployment bridge. Joys of not having 'root' on anything work related any more. Ha!

#Linux #Devuan #Excalibur #Debian #Systemd #init #sysvinit #runit #OpenRC

I consider doing an #openrc manager plugin for vscode/vscodium, just like I have for systemd. Still have to understand it slightly more, but can be 'fun'.
Just got a crash course in #Gentoo #OpenRC init scripts.
This week just fine on devuan ceres, it seems no updates yet for openrc, 0.61 on experimental repos for now
#devuan #openrc