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
fleet walls: launcher checks applied stop timeouts, one shared pin, FIFO test timeout (#327 follow-ups) #365
Follow-ups from #327 (fleet walls: launcher stop timeouts by sha256 pin; fixes #316), from the Fable audit on #327. Recommendation: do 2 and 4 now (small, tests only plus one constant); do 1 together with the next launcher change, since it moves the pin and needs a security lens; 3 needs no code unless a cheap way appears.
Launcher checks the outcome, not the bytes. After systemd-run returns, the launcher reads systemctl show -p TimeoutStopUSec,TimeoutAbortUSec <unit> of the unit it just started (what systemd really applies, drop-ins and defaults included) and stops the unit when either is over the limit. Then the walls no longer need to reason about any launcher's bash. A launcher change: moves the pin, needs a security lens.
One pin for both walls files.fork-fleet-walls/wsl2 reads the linux file's LAUNCHER_SHA256 instead of keeping its own copy, so a launcher change moves one line (today two, both checked by tests).
Read is not run. The walls read the launcher through one open file, then run it by path, and the pool runs start later still. A launcher replaced in between (root only) is judged on the old bytes. Same as on main before fleet walls: launcher timeout read refuses what start() never passes; read-error test (#316) #327; write down the limit in .github/fork-fleet.md if no cheap fix exists.
FIFO subtest hangs instead of failing when O_NONBLOCK is removed from the launcher open. Give it a timeout so the mutation goes red.
State question for each: what happens when this runs again, stops half-way, or meets an older launcher, or walls and launcher from different releases?
Activity
fleet walls: one launcher pin, FIFO timeout, canary and resolv tests (#…
fleet walls: one launcher pin, FIFO timeout, canary and resolv tests (#…
fleet walls: one launcher pin, FIFO timeout, canary and resolv tests (#…
Walls follow-ups: launcher refuses account files, checks applied stop…
fleet walls: one launcher pin, FIFO timeout, canary and resolv tests (#…
Walls follow-ups: launcher refuses account files, checks applied stop…
Walls follow-ups: launcher refuses account files, checks applied stop…