Correct the Odin unit lifetime and journal-read rakes in the re-entry surfaces

Verified on yggdrasil 2026-09-10T19:23Z: units exit after 2.5-16 min, not
~96 s; that number is the RUDP ack timeout. Unit hashes are per-activation,
not the release hash. Unprivileged journalctl returns a false zero.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-10 21:25:42 +02:00
commit d6b151515d
3 changed files with 16 additions and 2 deletions

View file

@ -81,6 +81,9 @@ ssh ygg 'sudo /usr/local/bin/idunn status --state-store /var/lib/gamecult/idunn/
`/etc/systemd/system/` is exactly that: active, `MainPID 0`, owning nothing.
It has misled at least two separate readings. Check `-p MainPID` before
believing a status line.
- **Read the journal with `sudo journalctl -q`.** Unprivileged `journalctl` shows
only your own messages and returns a false zero on `Started idunn-odin`
counts.
- Verify changing facts against the host or source, never against a document —
including the documents in this repository.
- Redeploying Odin is not routine. Read `notes/` first; the failure mode is

View file

@ -1,5 +1,11 @@
# Odin cannot currently be redeployed, and it cycles
> **Correction 2026-09-10 19:23Z.** Per-unit lifetime is 2.5-16 minutes, not
> ~96 s; 96 s is the runtime-presence publisher timeout that precedes the exit.
> Cycle rate holds at ~10 starts/hour. Count starts with `sudo journalctl -q`;
> an unprivileged `journalctl` sees only your own messages and returns zero.
> `up-fc005d83` still queued; lifecycle brake still released (19:03:12Z).
Written 2026-09-10 after an incident caused by an optional dependency bump.
Read this before running `idunn up odin`.

View file

@ -19,11 +19,16 @@ runtime:
admitted: true
admitted_by: up-07cb1979-855c-4f4b-b63e-b4f3052105ba # 2026-09-09 22:17
release: sha256-61c32655577151a4ba389372abe67f313a86dfc09e9d1f34267238f66ff0fd67
# The live unit is idunn-odin-<activation-hash>.service and that hash changes
# on every restart. It is not this release hash. 318 failed unit residues
# were loaded on 2026-09-10T19:23Z, all with distinct hashes.
state_root: /var/lib/gamecult/odin
projection: /var/lib/gamecult/idunn-projection/topology.cc
route: /etc/nginx/idunn-stream-routes/odin.conf # rudp://10.77.0.1:17971
# Odin serves between restarts and self-terminates roughly every 96s.
# Odin serves between restarts and exits 1 after 2.5-16 min per unit (14
# starts 18:03-19:23Z on 2026-09-10). The ~96 s figure is the RUDP ack
# timeout, not the unit lifetime; do not wait two minutes and call it stable.
# See notes/odin-deployment-handoff-2026-09-10.md before acting.
healthy: false
condition: cycling
@ -46,7 +51,7 @@ in_flight:
brakes:
deployment_store: /var/lib/gamecult/idunn-authority/odin-deployment-brake.cc
lifecycle_store: /var/lib/gamecult/idunn-authority/odin-lifecycle-brake.cc
lifecycle_state: released
lifecycle_state: released # verified 2026-09-10T19:03:12Z from the brake file: released by idunn.root, reason continuity-restart
# A deployment brake release is release-specific and expires after 15 minutes;
# each attempt needs its own signature naming that exact transaction.