-
v0.5.1 (SESSION-ENV)
StableAll checks were successfulci / check (push) Successful in 1m35sreleased this
2026-10-28 11:57:45 +00:00 | 0 commits to main since this releasev0.5.1 (SESSION-ENV) — the unit waits for the login's session environment
Why. The user service is wanted by
default.targetand started at the 2026-10-28 reboot a moment before the X login importedDISPLAY,XAUTHORITYandDBUS_SESSION_BUS_ADDRESSinto the user manager (Xsession.d/20dbus_xdg-runtime, then95dbus_update-activation-env). The shared server ran without them until the launcher's restart;oo-appserver doctorwarned. Cinnamon never activatesgraphical-session.target, so no ordering target can fix it.What.
oo-appserver.servicegets an advisory ExecStartPre gate (ExecStartPre=-python3 -I libexec/appserver_session_env.py): it pollssystemctl --user show-environmentuntilDISPLAYorWAYLAND_DISPLAYis present (default 15 s, ceiling 60 s; knobOO_APPSERVER_SESSION_ENV_TIMEOUT_Svia a drop-in), then the server is spawned with the imported block. The result is one line in$XDG_RUNTIME_DIR/oo-appserver/session-env. A console or SSH login passes after the bound — the door always opens; the gate can never fail the unit.oo-appserver statusshows asessionline;doctornames the gate record in its session-keys warning.- Tests:
tests/test_session_env.py(11 legs) in CI; README updated (Parts, The regular flow step 1, Knobs).
Evidence. Hermetic experiment on systemd 255: a transient unit whose ExecStartPre waited for a private key imported 2 s after the start — ExecStart printed the imported value (every Exec* gets the manager environment of its own spawn). Independent read-only review in two rounds, all findings folded; CI green.
Install (fleet law: from the checked-out tag).
git fetch origin tag v0.5.1 && git checkout v0.5.1 && ./install.sh --target ~/tools/oo-appserverThe running service keeps the old unit until a restart:
oo-appserver restartwhile no client, no loaded thread and the app not attached (or the nightly gated release); afterwardsoo-appserver statusshowssession : already imported · keys DISPLAY,XAUTHORITY,…anddoctorhas no session-keys warning. The next login showsimported after …swithout any restart.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads