Files
Vetting/cmd
josh 9d17859992
CI / Lint + build + test (push) Successful in 1m38s
Release / release (push) Successful in 2m43s
orchestrator: anchor pxe+tftp runtime dirs under artifacts parent
Previously tftp_root defaulted to logs.dir/../tftp and the pxe
runtime dir to logs.dir/../pxe. On a production install that
resolves to /var/log/tftp and /var/log/pxe, both outside the
systemd unit's ReadWritePaths=/var/lib/vetting /var/log/vetting
sandbox. The service crash-looped with "mkdir /var/log/pxe:
read-only file system" as soon as PXE was enabled.

Switch the anchor to filepath.Dir(cfg.Artifacts.Dir) — typically
/var/lib/vetting — which the sandbox already allows.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-18 11:14:11 -04:00
..