Skip to content

Commit df1e5f0

Browse files
bengalharaldh
authored andcommitted
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.
1 parent dd3cac2 commit df1e5f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ install() {
6666
/^\[Socket\]/aRemoveOnStop=yes' \
6767
"$initdir$systemdsystemunitdir/dbus.socket"
6868

69+
$SYSTEMCTL -q --root "$initdir" enable dbus-broker.service
70+
6971
# Install the hosts local user configurations if enabled.
7072
if [[ $hostonly ]]; then
7173
inst_multiple -H -o \

0 commit comments

Comments
 (0)