Skip to content

Commit

Permalink
fix(dbus-broker): add missing sockets.target.wants/dbus.socket
Browse files Browse the repository at this point in the history
If dbus.socket is not started automatically in the initrd, all binaries that
require dbus to work fail.
  • Loading branch information
aafeijoo-suse authored and johannbg committed Dec 24, 2022
1 parent a540c95 commit 7ed0461
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion modules.d/06dbus-broker/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ install() {
"$systemduser"/dbus-broker.service \
"$systemdsystemunitdir"/dbus.socket \
"$systemduser"/dbus.socket \
"$systemdsystemunitdir"/sockets.target.wants/dbus.socket \
"$systemduser"/sockets.target.wants/dbus.socket \
"$systemdsystemunitdir"/dbus.target.wants \
busctl dbus-broker dbus-broker-launch

Expand All @@ -77,7 +79,8 @@ install() {
"$systemdsystemconfdir"/dbus.socket \
"$systemdsystemconfdir"/dbus.socket.d/*.conf \
"$systemdsystemconfdir"/dbus-broker.service \
"$systemdsystemconfdir"/dbus-broker.service.d/*.conf
"$systemdsystemconfdir"/dbus-broker.service.d/*.conf \
"$systemdsystemconfdir"/sockets.target.wants/dbus.socket
fi

# We need to make sure that systemd-tmpfiles-setup.service->dbus.socket
Expand Down

0 comments on commit 7ed0461

Please sign in to comment.