From df1e5f06a5449dcec6749baf742eac6eb1f0aa53 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Mon, 29 Mar 2021 18:27:38 +0200 Subject: [PATCH] fix(dbus-broker): enable the service dbus-broker.service has a 'dbus.service' alias which is installed when the service gets enabled. If the alias is not present in the initrd image, services requiring D-Bus in the initrd fail to start because they depend on dbus.service, which doesn't exist. Therefore, enable the service to create the alias. --- modules.d/06dbus-broker/module-setup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules.d/06dbus-broker/module-setup.sh b/modules.d/06dbus-broker/module-setup.sh index b536c1d776..3c1b944576 100755 --- a/modules.d/06dbus-broker/module-setup.sh +++ b/modules.d/06dbus-broker/module-setup.sh @@ -66,6 +66,8 @@ install() { /^\[Socket\]/aRemoveOnStop=yes' \ "$initdir$systemdsystemunitdir/dbus.socket" + $SYSTEMCTL -q --root "$initdir" enable dbus-broker.service + # Install the hosts local user configurations if enabled. if [[ $hostonly ]]; then inst_multiple -H -o \