Skip to content

added privileges to /var/run/kea for kea user in alpine

Wlodzimierz Wencel requested to merge fix-access-to-var-run-in-alpine into master

While started using kea user, kea exits with an error:

Unable to use interprocess sync lockfile (Permission denied): /var/run/kea/logger_lockfile
Service failed: Launch failed: Unable to open PID file '/var/run/kea/kea-ctrl-agent.kea-ctrl-agent.pid' for write
2023-08-23 09:15:34,788 INFO exited: kea-agent (exit status 1; not expected)
Unable to use interprocess sync lockfile (Permission denied): /var/run/kea/logger_lockfile
Unable to use interprocess sync lockfile (Permission denied): /var/run/kea/logger_lockfile
kea-dhcp4: Fatal error during start up: Unable to open PID file '/var/run/kea/kea-dhcp4.kea-dhcp4.pid' for write
Unable to use interprocess sync lockfile (Permission denied): /var/run/kea/logger_lockfile
2023-08-23 09:15:34,799 INFO exited: kea-dhcp4 (exit status 1; not expected)

Merge request reports