mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
wrolpi-bootstrap.service is `WantedBy=multi-user.target` and `Before=` the wrolpi-api/app/kiwix/controller services, but had no ordering constraint against lightdm. Systemd was free to start lightdm in parallel with bootstrap, so XFCE autologin would land before bootstrap had written /tmp/wrolpi-firstboot-summary.txt — and the wrolpi-firstboot-notify autostart would fire, find no summary, and exit silently. On the live test this manifested as the user seeing the desktop come up immediately but never seeing the welcome zenity dialog. The notify script's own log confirmed the timing race: ===== Mon May 25 08:01:46 PM UTC 2026 invoked ... ===== no summary file at /tmp/wrolpi-firstboot-summary.txt — nothing to do bootstrap was still in the middle of `pg_createcluster` at 20:01:46 and didn't write the summary file until ~20:01:48. Adding `Before=display-manager.service lightdm.service` makes systemd wait for bootstrap to complete before bringing up the display manager. Tested live by logging out + back in on the running ISO (re-firing autostart with the summary already in place) — the zenity dialog appeared. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| system | ||