mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
Set the permissions of /var/run/kea to 750 to fix kea server startup
error:
ERROR [kea-dhcp4.dhcp4/445.140718820303936] DHCP4_INIT_FAIL failed to
initialize Kea server: configuration error using file
'/etc/kea/kea-dhcp4.conf': 'socket-name' is invalid: socket
path:/var/run/kea does not exist or does not have permssions = 750
This permission check was introduced by commit[1] in kea 2.6.3.
[1] 43bba7799f
(From OE-Core rev: acbed746f321e1a42df9035d2b6f1029f5a6a6a2)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
14 lines
364 B
Desktop File
14 lines
364 B
Desktop File
[Unit]
|
|
Description=Kea DHCP-DDNS Server
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
After=time-sync.target
|
|
|
|
[Service]
|
|
ExecStartPre=@BASE_BINDIR@/mkdir -p @LOCALSTATEDIR@/run/kea/
|
|
ExecStartPre=@BASE_BINDIR@/chmod 750 @LOCALSTATEDIR@/run/kea/
|
|
ExecStart=@SBINDIR@/kea-dhcp-ddns -c @SYSCONFDIR@/kea/kea-dhcp-ddns.conf
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|