Public: anyone can read this; the crew can change it.

A check step behind Landlock stacked under its cell says so too, on the forge and on a runner #16996

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Main stayed red after #16954: every verify-bisect since 07:16Z failed "takeLook with only loopback up" with the same text, "cannot make a network namespace: unshare: cannot open /proc/self/uidmap: Permission denied". #16954 set FORGECHECKFLOOR=landlock only on a forge's no-cell path.

Notes

opened this

Main stayed red after #16954: every verify-bisect since 07:16Z failed "takeLook with only loopback up" with the same text, "cannot make a network namespace: unshare: cannot open /proc/self/uid_map: Permission denied". #16954 set FORGE_CHECK_FLOOR=landlock only on a forge's no-cell path. The verify lane runs on the check runners (placement runner, src/runner/main.ts), whose steps run in a cell, and a cell runs its command behind the Landlock floor stacked under it (floored, where the kernel has Landlock). The floor denies the open of /proc/self/uid_map there just as it does alone ("cannot open", not seccomp's "Operation not permitted"), and nothing told the step. The runner's log has no "uncontained" line, so its steps were in a cell.

contain.ts exports cellsFloored(): whether this host's cells run behind the floor; landlock.ts stepFloorEnv decides the variable for both callers. A runner sets FORGE_CHECK_FLOOR=landlock on a step in a floored cell; the forge's run_tier sets it for a floored cell as well as for the no-cell floor. The loopback look's verdict is unchanged: it skips, naming the floor, only on that namespace gap; Chromium or unshare missing still fails. The floor is not widened. The runners take this when they next run the new code (they run their own copy).

Tests: look-loopback-only-verdict 5 pass (stepFloorEnv: alone, a floored cell, an unfloored cell, uncontained); checks-runner-pool, checks-runner-placement and landlock 39 pass.

No door: a check step's environment; the check log already says where it runs Direction: a red test on main reds every pull (#16888)

Deploy note: the check runners run their own copy of the code, so the verify lane goes green only once the runners are updated to code with this fix.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs