Re:Rethinking the D-Bus Message Bus
by JdeBP on Saturday August 26, 2017 @04:01PM
(#15107113)
Actually, it has been given the responsibility.
A quick review of the code reveals that dbus-broker-launch relies upon systemd entirely for bus-activation. To activate a dbus server on demand, it sends a message to systemd using a systemd-specific protocol. It has no way to demand-activate services on a non-systemd operating system.
The dbus-daemon that this purports to be compatible with at least can be persuaded, via its launch helper, to demand-activate services in a generic fashion using whichever of initctl, systemctl, service, or system-control is appropriate.
A quick review of the code reveals that dbus-broker-launch relies upon systemd entirely for bus-activation. To activate a dbus server on demand, it sends a message to systemd using a systemd-specific protocol. It has no way to demand-activate services on a non-systemd operating system.
The dbus-daemon that this purports to be compatible with at least can be persuaded, via its launch helper, to demand-activate services in a generic fashion using whichever of initctl, systemctl, service, or system-control is appropriate.
* http://jdebp.eu./Softwares/nosh/avoid-dbus-bus-activation.ht...
* http://jdebp.eu./Softwares/nosh/guide/per-user-dbus-demand-s...