systemd system-scope unit missing user environment vars
Cluster 103705. Data as of
Nothing open on GitHub. Fix merged in #105884 on 8 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #105884. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These issues and PRs address problems with gateway units running at the system scope lacking necessary user environment variables (XDG_RUNTIME_DIR, DBUS_SESSION_BUS_ADDRESS) and related linger/user-bus provisioning needed for cron and Kanban child processes.
Open issues0
Open PRs0
Fixes on record
-
#105346 fix(gateway): cron and Kanban children start under a system-level systemd unit (#104893, salvage #105037)
files:
hermes_cli/gateway.py,tests/hermes_cli/test_gateway_user_bus_adoption.py,tools/process_registry.py -
#105884 fix(gateway): provision linger and derive the user bus per spawn for system-level units (#104893, salvage #105222 + #105135)
files:
contributors/emails/trading-monitoring@localhost,cron/scheduler.py,hermes_cli/gateway.py,hermes_cli/kanban_db_dispatch.py,tests/hermes_cli/test_gateway_foreign_xdg_runtime.py,tests/hermes_cli/test_gateway_linger.py,tests/hermes_cli/test_gateway_service.py,tests/hermes_cli/test_systemd_watchdog_unit.py,tests/tools/test_process_registry.py,tools/process_registry.py
1 PR closed without merging
From the close comments: superseded by another PR 1
-
#103706 fix(gateway): include XDG_RUNTIME_DIR and DBUS_SESSION_BUS_ADDRESS in system-scope systemd unit · superseded by another PR →
6f11a32,#105884,#105346,#103705
Closed issues · 1
- Closed#103705System-scope gateway unit missing XDG_RUNTIME_DIR — systemd-run --user --scope fails for cron workers
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.50: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the Lab