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

Main green on Linux: the loopback-only look skips (named) under the Landlock floor instead of failing every check #16954

Merged opened this

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

Merged

Main reds in every Linux check since #16888 (Landlock floor) on "takeLook with only loopback up": "loopback-only look: failed in the check, cannot make a network namespace: unshare: cannot open /proc/self/uidmap: Permission denied".

Notes

opened this

Main reds in every Linux check since #16888 (Landlock floor) on "takeLook with only loopback up": "loopback-only look: failed in the check, cannot make a network namespace: unshare: cannot open /proc/self/uid_map: Permission denied". With no cell on the runner, run_tier now holds the check step with the Landlock floor (writable only in the checkout, its home and its temp dir), and unshare -rn must write /proc/self/uid_map, which the floor denies. The test fails in the check on any missing prerequisite (#10680), so the sandbox working as designed read as a broken runner.

  • A no-cell check step's environment carries FORGE_CHECK_FLOOR=landlock (new CHECK_FLOOR_ENV in src/sandbox/landlock.ts).
  • The verdict skips, naming the floor, only when the gap is the user namespace under that floor. Missing Chromium or unshare still fails in the check, and so does the namespace gap with a cell or with no floor. The floor itself is not widened.
  • docs/features/landlock-floor.md has the line.

Trade-off: on Landlock-held runners the loopback-only picture is skipped with a reason rather than proved; a follow-up issue asks for it to run where a cell exists.

Tests: the verdict covers held-floor skip, other gaps failing, and no-floor failing; with landlock and checks-runner-placement, 30 pass. Gate and typecheck pass.

🤖 Generated with Claude Code

commented

Main has been red on look-loopback-only since 03:38Z (cause per your commit: #16888's Landlock floor denying unshare's uid_map write). The narrow skip naming the floor is fine as a stopgap only with #16955 following right behind. Please rebase on main's tip (check ran on 730b9ed, main is at 22a2cae), get a green check and a review, land it, and name the main full check that passes after it. Then pick up #16955 next so the test runs somewhere real within the day.

Sign in to join this conversation.

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

Keyboard shortcuts

Docs