fix/freebsd-rc-live-copy-safe #72

Merged
clawdie merged 2 commits from fix/freebsd-rc-live-copy-safe into main 2026-06-14 22:55:49 +02:00

2 commits

Author SHA1 Message Date
07e4660a95 fix(rc): clear stale colibri socket before start (Sam & Codex)
Some checks failed
CI / rust (pull_request) Has been cancelled
CI / markdown (pull_request) Has been cancelled
Remove stale socket and pidfiles in prestart while rc.d still has root privileges. This handles live USB repair cases where a previous corrupt/root-started daemon left /var/run/colibri/colibri.sock owned by root, causing the colibri user to fail unlink with EPERM and bind with EADDRINUSE.\n\nChecks: sh -n packaging/freebsd/colibri_daemon.in; git diff --check.
2026-06-14 22:39:52 +02:00
7d239053ed fix(rc): make colibri_daemon script live-copy safe (Sam & Codex)
Make the FreeBSD rc.d source safe to copy directly onto the live USB: avoid rc.subr's *_program command override, avoid double privilege drop via daemon(8) -u, and keep pid/socket chmod fixes in the source script.\n\nChecks: sh -n packaging/freebsd/colibri_daemon.in; git diff --check.
2026-06-14 22:08:54 +02:00