-
fix(protect): the installer was not idempotent, so the fix did not take · 4f125e14
Reinstalled after adding CAP_DAC_OVERRIDE and nothing changed: the unit on disk was correct, daemon-reload had run, NeedDaemonReload said no — and the running process still held the old three capabilities, same PID and start time as before the install. `systemctl enable --now` starts a STOPPED unit and does nothing to a RUNNING one. So every re-install silently kept the previous daemon, with the previous unit's capabilities and the previous script's inode, while printing success. - restart instead of enable --now (it holds no ports and makes no sound) - assert the LIVE /proc capability set after restart, and say plainly that protection is decoration until that line reads ok Third layer of one lesson tonight: a correct file on disk is not a correct process in memory.
PLN (Algolia) authored4f125e14
×