From: Antonio Alvarez Feijoo Date: Thu, 22 Dec 2022 11:34:30 +0000 (+0100) Subject: fix(dbus-broker): add missing sockets.target.wants/dbus.socket X-Git-Tag: 058~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ed0461810602bfbd4d5492fc9ed82f15e57fa9f;p=thirdparty%2Fdracut.git 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. --- diff --git a/modules.d/06dbus-broker/module-setup.sh b/modules.d/06dbus-broker/module-setup.sh index 5e3c469c2..a38fce8d5 100755 --- a/modules.d/06dbus-broker/module-setup.sh +++ b/modules.d/06dbus-broker/module-setup.sh @@ -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 @@ -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