secubox-deb/packages/secubox-avatar/debian
CyberMind-FR 24000d67ea fix(services): add RuntimeDirectoryPreserve=yes to 96 secubox-* units
Hub + portal stayed `inactive (dead)` on real-hardware boot. The
journal error was `Failed to set up mount namespacing: /run/systemd/
unit-root/run/secubox: No such file or directory` at the NAMESPACE
step. Root cause: 96 services declare `RuntimeDirectory=secubox`
without the matching `RuntimeDirectoryPreserve=yes`. When any of them
stops (including any of the LXC-backed services that fail their
health probe and Restart=on-failure for a few cycles), systemd
removes /run/secubox on the way out. The next service with the same
RuntimeDirectory= that tries to namespace its inputs hits the gap
and falls into 226/NAMESPACE failure — Restart hammers a few times,
then the unit goes failed-permanent.

Earlier fmrelay + sentinelle units got the fix individually
(v2.12.0/v2.12.3 era). Now applied to all 96 remaining units in a
single sweep via:

  sed -i '/^RuntimeDirectory=secubox/a RuntimeDirectoryPreserve=yes' "$f"

No version bumps in changelog — `dpkg -i --force-depends` in the
live-USB slipstream picks up the new .deb regardless of version
number.
2026-05-26 09:50:22 +02:00
..
changelog fix(ci): Handle non-existent directories in build-live-usb.sh 2026-04-04 08:48:32 +02:00
control feat(build): Add modular build system and fix package dependencies 2026-04-10 17:31:24 +02:00
postinst fix(ci): Handle non-existent directories in build-live-usb.sh 2026-04-04 08:48:32 +02:00
prerm fix(ci): Handle non-existent directories in build-live-usb.sh 2026-04-04 08:48:32 +02:00
rules fix(ci): Handle non-existent directories in build-live-usb.sh 2026-04-04 08:48:32 +02:00
secubox-avatar.service fix(services): add RuntimeDirectoryPreserve=yes to 96 secubox-* units 2026-05-26 09:50:22 +02:00
secubox.yaml feat(secubox): complete meta-script generator Tasks 14-17 2026-05-11 05:32:29 +02:00