systemd-sysctl on Debian 13 does not read /etc/sysctl.conf, so the hardened values were lost on reboot. The role now applies the live values on their own, writes them to a drop-in under /etc/sysctl.d and removes its keys from /etc/sysctl.conf. Refs #510 Assisted-by: Claude Code:claude-opus-5-5
7 lines
337 B
YAML
7 lines
337 B
YAML
---
|
|
bugfixes:
|
|
- >-
|
|
system_baseline - The sysctl hardening survives a reboot on Debian 13, where ``systemd-sysctl`` no longer reads
|
|
``/etc/sysctl.conf``. The role now writes its values to ``/etc/sysctl.d/99-zz-system-baseline.conf`` and removes its
|
|
keys from ``/etc/sysctl.conf``, so the first run reports ``changed`` once.
|