Harden kea socket dir to 0750 (fix remaining CrashLoopBackOff) #4
Reference in New Issue
Block a user
Delete Branch "benvin/fix-socket-dir-perms"
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?
v0.1.1 moved the socket dir to /var/run/kea but kea-0/kea-1 still crash-loop. Current error (both kea-dhcp4 and kea-ctrl-agent):
Kea 2.6+ refuses a unix-socket directory whose mode is more relaxed than 0750. The shared
emptyDiris mounted at/var/run/keawith the default 0777, so kea rejects it. The kea containers run as root, so the rendered entrypoints can tighten it.chmod 0750the RunDir in both entrypoints (after mkdir, before exec).Needs a v0.1.2 release afterwards so argocd-apps can bump the operator image.
https://claude.ai/code/session_01JUoARVdmhxKQHyyyp1pxeT