fix(spawner): FreeBSD jail command=<binary> syntax (salvaged from Codex) #39
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/jail-command-syntax"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Salvages the FreeBSD
jail(8)command-syntax fix from Codex'sfix/jail-spawner-freebsd-command-format, rebased cleanly onto currentmain.Why: the merged
jail_wrapemitted the ephemeral jail command as two argv tokens ("command",binary), butjail(8)needs a single name=value parameter (command=<binary>). Without this thejail -cephemeral path fails on FreeBSD. Fixes the builder + the twojail_testsexpectations.Why not just merge Codex's branch: it predates the doc fix and also re-ran a markdown formatter, which would re-corrupt
docs/COLIBRI-JAILED-AGENT-SPAWN-DESIGN.md(mac_do→mac*do) and churn the README. This takes only the validatedspawner.rschange.Supersedes
fix/jail-spawner-freebsd-command-format(safe to close).daemon lib tests (58) green; clippy
-D warnings+ fmt clean.Salvages Codex's FreeBSD-validated fix from fix/jail-spawner-freebsd-command-format, taking ONLY the spawner.rs change onto current main. (The original branch also re-ran a markdown formatter and would have re-corrupted the jailed-spawn design doc + README, so those are dropped.) My merged jail_wrap emitted the ephemeral jail command as two argv tokens ("command", binary), but jail(8) expects a single name=value parameter (command=<binary>). Without this the `jail -c` ephemeral path fails on FreeBSD. Fixes the ephemeral builder and the two jail_tests expectations. Co-authored-by: Sam & Codex (fix/jail-spawner-freebsd-command-format) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>