From 66153444b2ff596f1788f65bd55b9e84d3d451b3 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 27 Mar 2023 16:00:04 +0200 Subject: [PATCH] Boring hack because sometimes dbus is not started/enabled ... --- bullseye | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bullseye b/bullseye index e40f8ae..2fae344 100755 --- a/bullseye +++ b/bullseye @@ -533,7 +533,9 @@ function restart_services() { service unscd restart service nslcd restart - # NOTE : We don't fail if slapd fails to restart... + # For some reason sometimes dbus is not properly started/enabled ... + systemctl is-active dbus >/dev/null || systemctl enable dbus --now + return 0 }