748e68432b
A system unit's `User=` has no login session on a headless host, so user@<uid>.service never starts and `systemd-run --user --scope` — every restart-safe cron/Kanban worker — has no bus to reach. `hermes gateway install --system` runs as root and already knows the target user, so enable linger for that user on fresh install, on an already-current unit, and on repair. - `get_systemd_linger_status()` / `_ensure_linger_enabled()` take the target username; root is included (restart-safe workers cross `systemd-run --user` regardless of who the gateway runs as). - After `loginctl enable-linger` succeeds, wait for the TARGET uid's control socket (`_wait_for_user_dbus_socket(uid=...)`) — logind starts the user manager asynchronously and `--start-now` boots the gateway immediately; the caller's own env (root's) says nothing about it and is never adopted. - Messages and the manual-remediation hint are scope-aware (`sudo systemctl restart`, not `systemctl --user`); when the repaired service is already active, say that a restart is required — `systemctl start` on an active unit is a no-op and the running gateway keeps its bus-less environment. Refs #104893.