From 778fac1178ca38a6b3daa9253095fbbd84e9c5cc Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 23 Jan 2026 03:42:19 -0600 Subject: fix(archsetup): fix dbus-broker race condition with sysusers dbus-broker can start before systemd-sysusers completes, causing it to fail user validation when parsing service files that reference system users like geoclue. Add a drop-in to ensure sysusers runs first. --- archsetup | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/archsetup b/archsetup index 4b6b63a..c116e3f 100755 --- a/archsetup +++ b/archsetup @@ -922,6 +922,14 @@ EOF action="enabling geoclue geolocation service" && display "task" "$action" systemctl enable geoclue.service >> "$logfile" 2>&1 || error "error" "$action" "$?" + # Fix dbus-broker race condition with sysusers (geoclue user must exist before dbus parses service files) + action="configuring dbus-broker to wait for sysusers" && display "task" "$action" + mkdir -p /etc/systemd/system/dbus-broker.service.d + cat > /etc/systemd/system/dbus-broker.service.d/after-sysusers.conf << 'EOF' +[Unit] +After=systemd-sysusers.service +EOF + # Job Scheduling display "subtitle" "Job Scheduling" -- cgit v1.2.3