News for hackers. Stuff that matters.
Re:DBus and Systemd by mort96 on Tuesday May 28, 2024 @03:52AM (#40498441)
One of the ideas behind dbus (and one of the ideas behind systemd! They're sorta linked in this way) is that services should be able to activate on request, like httpd but for local IPC. You could make a stand-alone dbus, but you'd have to either give up on socket activation, or re-implement half of the systemd service manager to make the dbus server responsible for spawning socket activated daemons.

Both of those are totally possible and would probably be interesting for non-Linux systems.

Re:DBus and Systemd by Xeamek on Tuesday May 28, 2024 @04:04AM (#40498515)
It's also the case that there exist non-systemd based linuxes.

I mean sure, the self-start is important feature, but I'd rather have a dbus with which I need to start services manually, then have no dbus at all :(

Also, why the fuck can't systemd run in chroot.

Re:DBus and Systemd by nxobject on Tuesday May 28, 2024 @05:54AM (#40499076)
Because of that deep integration with systemd-boot, of course. /s

(Yes, I know systemd at this point is just an umbrella brand; I'm no systemd hater.)

Re:DBus and Systemd by mariusor on Tuesday May 28, 2024 @10:12AM (#40500934)
Probably because chroot does not expose some sort of low-level knob that systemd relies on to work. They had to make their own implementation of that in systemd-nspawn, have a look at that.
Re:DBus and Systemd by Xeamek on Tuesday May 28, 2024 @11:52AM (#40501993)
Yes, but to use systemd-nspawn, your host must be running systemd to begin with.