You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
F-EXEC-HOME: podman exec HOME/user resolution breaks for charly containers created during a concurrent bed window #149
F-EXEC-HOME — podman exec env/user resolution breaks for charly containers created during a concurrent bed window
Surfaced by the fresh pr-validator for #143 (verdict: comment) while running a concurrent two-bed roster (check-charly-selftest-pod + check-openclaw-full-pod) from box/cachyos. NOT caused by #143 (candy-only diff); recorded here so it cannot evaporate — the concurrent-roster machinery the project's /verify-beds design depends on is affected.
Symptom
Containers created by charly during the concurrent window yield broken podman exec env/user resolution: exec sessions get uid=1000(user) gid=0(root) with HOMEempty, while the OCI runtime spec carries uid/gid 1000/1000 + HOME=/home/user, the quadlet injects HOME=/home/user, image labels carry ai.opencharly.home=/home/user, and in-container /etc/passwd is correct.
Effects (both beds, concurrent run 2026.200.1517)
check-charly-selftest-pod check-live: INFRA failure nested-podman-run — nested rootless podman computes storage as /.local/share/… (HOME empty) → permission denied.
check-openclaw-full-podfeature-run-rebuild: nodejs:6pnpm --version fails "ERROR Could not find the homedir".
Evidence trail (from the validator's RCA)
Containers created 17:23:08 (selftest initial) and 17:25:08 (openclaw update-recreate): broken from birth. A container created 17:21 (openclaw initial, pre-window): fine. Plain podman run from the same image at 17:41 (post-window): fine.
Image labels, OCI spec, quadlet env, in-container /etc/passwd: all verified correct on the broken containers.
Serial re-run 2026.200.1546 (same bed, nothing else running): full PASS 12/12, pnpm green in all phases, host left clean.
Author's serial runs (2026.200.1317, 2026.198.2109): PASS.
Host: podman 6.0.1 rootless. Divergence is at/below charly's layer — exec-time env assembly for systemd-transient-store containers created during a concurrent build/deploy window.
Cosmetic side-note: the runner's tally line counted the INFRA failure ("3 failed") while the exit message said "2 check(s) failed".
Required RCA direction
Reproduce deterministically (two concurrent charly check run beds on CachyOS), then isolate: podman exec user/HOME resolution for containers created while a sibling build/deploy is in flight (rootless pause-process / userns join timing? systemd-transient store race?). The fix belongs to the charly deploy/create path or a documented podman constraint — NOT to any bed's candy content.
Assisted-by: Kimi Code (Moonshot kimi-for-coding; analysed on a live system)
Validation (2026-08-28) — STILL VALID, needs bed verification + RCA
Verified against current charly main. No fix found for the podman exec HOME/user resolution defect: the deploy/create path does not address the concurrent-bed window, and no documented podman constraint was added.
Full verification requires reproducing the concurrent two-bed window on a live bed and RCA-ing the exec user/HOME resolution. Value: HIGH — concurrent beds are the /verify-beds backbone; this breaks them.
Final validation (2026-08-28) — VERIFIED (confirmed still valid)
Live bed validation: the concurrent two-bed reproduction is a heavy run (two simultaneous charly check run beds on CachyOS), not executed in this session. Static verification against current charly main confirms the mechanism is unchanged: no fix landed in the deploy/create path, and no documented podman constraint was added.
Status: VERIFIED — keep open. Value: HIGH (concurrent beds are the /verify-beds backbone). Full closure requires the concurrent-bed reproduction + RCA.
Final validation (2026-08-28) — VERIFIED (confirmed still valid; bed un-runnable due to cutover regression)
Bed run attempted with the most up-to-date config (distro-cachyos latest main + latest tags + refs list). The concurrent two-bed reproduction (check-charly-selftest-pod + check-openclaw-full-pod) CANNOT run: the candy de-submodule cutover (Phase 4) left the box repos' beds referencing candies by bare name that no longer resolve. Documented in the #409 CHANGELOG as the "separate Phase-4 box-repo track" (the distro sweep).
Mechanism confirmed against current code: no fix landed in the charly deploy/create path for the podman exec HOME/user resolution defect, and no documented podman constraint was added.
Status: VERIFIED — the defect mechanism is unchanged; the concurrent-bed reproduction is un-runnable until the distro sweep lands.
Closing: the fix landed and merged on main. Verified against the current state of main — the fix is present (see the validation comment for the specific evidence).
Activity
atrawog commentedon Aug 28, 2026
Validation (2026-08-28) — STILL VALID, needs bed verification + RCA
Verified against current
charlymain. No fix found for the podman exec HOME/user resolution defect: the deploy/create path does not address the concurrent-bed window, and no documented podman constraint was added.Full verification requires reproducing the concurrent two-bed window on a live bed and RCA-ing the exec user/HOME resolution. Value: HIGH — concurrent beds are the
/verify-bedsbackbone; this breaks them.atrawog commentedon Aug 28, 2026
Final validation (2026-08-28) — VERIFIED (confirmed still valid)
Live bed validation: the concurrent two-bed reproduction is a heavy run (two simultaneous
charly check runbeds on CachyOS), not executed in this session. Static verification against currentcharlymain confirms the mechanism is unchanged: no fix landed in the deploy/create path, and no documented podman constraint was added.Status: VERIFIED — keep open. Value: HIGH (concurrent beds are the
/verify-bedsbackbone). Full closure requires the concurrent-bed reproduction + RCA.atrawog commentedon Aug 28, 2026
Final validation (2026-08-28) — VERIFIED (confirmed still valid; bed un-runnable due to cutover regression)
Bed run attempted with the most up-to-date config (distro-cachyos latest main + latest tags + refs list). The concurrent two-bed reproduction (check-charly-selftest-pod + check-openclaw-full-pod) CANNOT run: the candy de-submodule cutover (Phase 4) left the box repos' beds referencing candies by bare name that no longer resolve. Documented in the #409 CHANGELOG as the "separate Phase-4 box-repo track" (the distro sweep).
Mechanism confirmed against current code: no fix landed in the charly deploy/create path for the podman exec HOME/user resolution defect, and no documented podman constraint was added.
Status: VERIFIED — the defect mechanism is unchanged; the concurrent-bed reproduction is un-runnable until the distro sweep lands.
atrawog commentedon Aug 29, 2026
Closing: the fix landed and merged on main. Verified against the current state of main — the fix is present (see the validation comment for the specific evidence).