Skip to content

Commit 7ed0461

Browse files
aafeijoo-susejohannbg
authored andcommitted
fix(dbus-broker): add missing sockets.target.wants/dbus.socket
If dbus.socket is not started automatically in the initrd, all binaries that require dbus to work fail.
1 parent a540c95 commit 7ed0461

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules.d/06dbus-broker/module-setup.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ install() {
5454
"$systemduser"/dbus-broker.service \
5555
"$systemdsystemunitdir"/dbus.socket \
5656
"$systemduser"/dbus.socket \
57+
"$systemdsystemunitdir"/sockets.target.wants/dbus.socket \
58+
"$systemduser"/sockets.target.wants/dbus.socket \
5759
"$systemdsystemunitdir"/dbus.target.wants \
5860
busctl dbus-broker dbus-broker-launch
5961

@@ -77,7 +79,8 @@ install() {
7779
"$systemdsystemconfdir"/dbus.socket \
7880
"$systemdsystemconfdir"/dbus.socket.d/*.conf \
7981
"$systemdsystemconfdir"/dbus-broker.service \
80-
"$systemdsystemconfdir"/dbus-broker.service.d/*.conf
82+
"$systemdsystemconfdir"/dbus-broker.service.d/*.conf \
83+
"$systemdsystemconfdir"/sockets.target.wants/dbus.socket
8184
fi
8285

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

0 commit comments

Comments
 (0)