chore(hardening): now sysctl is verified and overriding in the right way /etc/sysctl.conf and other config files #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "verify-what-the-roles-claim"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
`net.ipv4.conf.all.mc_forwarding` is not a switch. It is a read-only flag the kernel sets to report whether a multicast routing daemon has registered, and writing it returns EPERM even as root on bare metal. The line has been in this template from the start and has never once taken effect. Nothing caught it because the read-back agrees: the key reports 0, the template asks for 0, so the value comparison passes. Only the apply's stderr showed it, which is why the assertion quotes stderr rather than discarding it - the first real run on daily_prophet (arm64, Debian) surfaced it as sysctl: setting key "net.ipv4.conf.all.mc_forwarding": Operation not permitted A comment replaces the line rather than a silent deletion, so the next person to read the CIS lists this template was built from does not add it back. Gates: yamllint and ansible-lint pass. molecule not run - no podman here. Claude-Session: https://claude.ai/code/session_01W5FkkabPcwgqKTQv4LD7DP