secubox-deb/packages/secubox-profiles/debian
CyberMind-FR d67e2c03b7 feat(profiles): package waker/sleeper + lifecycle policy, v0.8.0 (ref #896)
Wires the scale-to-zero services into debian/ packaging: secubox-wakectl
entry point (/usr/sbin), templates/waking.html now ships, secubox-waker
and secubox-sleeper systemd units registered via dh_installsystemd
--name=, enabled/restarted (try-restart, preserving runtime state) in
postinst alongside secubox-profiles.service. postinst now also runs
secubox-wakectl waf-sync/health-sync so sbxwaf and the health monitor
have their lists from first install (nginx-sync stays unwired per the
2026-07-20 pivot).

Hardens secubox-sleeper.service with ProtectSystem=strict and an
explicit ReadWritePaths covering the actuator's real write set, traced
through api/actuate.py/snapshot.py/audit.py: /run/secubox,
/var/lib/secubox/profiles/rollback, /var/log/secubox, /data/lxc, and
/etc/secubox/waf (haproxy-routes.json, written on a routed module's
STOP — missed by a naive reading of the write set).

Documents the lifecycle/wake_class policy, the waker/sleeper mechanism
and a pilot procedure in README.md, wiki/Architecture.md and
.claude/MODULE-COMPLIANCE.md. Bumps changelog to 0.8.0.

Co-Authored-By: Gerald KERMA <devel@cybermind.fr>
2026-07-20 17:06:47 +02:00
..
changelog feat(profiles): package waker/sleeper + lifecycle policy, v0.8.0 (ref #896) 2026-07-20 17:06:47 +02:00
control feat(profiles): webui surface — own-socket API + hybrid-dark panel 2026-07-17 13:35:44 +02:00
install feat(profiles): package waker/sleeper + lifecycle policy, v0.8.0 (ref #896) 2026-07-20 17:06:47 +02:00
postinst feat(profiles): package waker/sleeper + lifecycle policy, v0.8.0 (ref #896) 2026-07-20 17:06:47 +02:00
prerm feat(profiles): package waker/sleeper + lifecycle policy, v0.8.0 (ref #896) 2026-07-20 17:06:47 +02:00
rules feat(profiles): package waker/sleeper + lifecycle policy, v0.8.0 (ref #896) 2026-07-20 17:06:47 +02:00
secubox-profiles.service feat(profiles): NNP=false + scoped sudoers so the panel can sudo→profilectl 2026-07-19 09:49:06 +02:00
secubox-sleeper.service feat(profiles): package waker/sleeper + lifecycle policy, v0.8.0 (ref #896) 2026-07-20 17:06:47 +02:00
secubox-waker.service feat(profiles): waker/sleeper systemd units + sudoers + wake-active state (ref #896) 2026-07-20 13:38:36 +02:00