secubox-deb/packages/secubox-vhost
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
..
api feat(mail): Debian LXC containers for Postfix/Dovecot/Roundcube 2026-03-22 10:40:00 +01:00
debian fix(services): add RuntimeDirectoryPreserve=yes to 96 secubox-* units 2026-05-26 09:50:22 +02:00
menu.d feat(navbar): consolidate to 6 charter categories + fix dropped menu entries (closes #306) (#307) 2026-05-21 10:03:05 +02:00
nginx feat: modular nginx config + hub roadmap + new modules 2026-03-21 20:34:01 +01:00
sbin feat(mail): Debian LXC containers for Postfix/Dovecot/Roundcube 2026-03-22 10:40:00 +01:00
www/vhost feat(ui): Add status emojis to vhost and NAC pages 2026-05-09 07:04:51 +02:00
README.md docs: Add Eye Remote Multigadget skill and wiki 2026-05-10 09:12:42 +02:00

🏗️ Virtual Hosts

Nginx virtual host management

Category: Network

Screenshot

Virtual Hosts

Features

  • Site management
  • SSL certificates
  • Reverse proxy
  • Let's Encrypt

Installation

# Add SecuBox repository
curl -fsSL https://apt.secubox.in/install.sh | sudo bash

# Install package
sudo apt install secubox-vhost

Configuration

Configuration file: /etc/secubox/vhost.toml

API Endpoints

  • GET /api/v1/vhost/status - Module status
  • GET /api/v1/vhost/health - Health check

License

MIT License - CyberMind © 2024-2026