systemd support files provided with ISC Kea packages reference wrong service names (Kea 1.8.2)
A support customer reports that, due to an error in the files provided to support use with systemd, a couple of the Kea services do not properly restart when using ISC-provided packages on systems that use systemd.
From the support ticket:
Hello ISC,
I've just installed two brand new servers with kea 1.8.2 and enabled the kea-ctrl-agent, and kea-dhcp4 services via aystemd.
But it's only kea-dhcp4 that starts..
I think this is caused by some mispelling in the systemd unit files.
cat /lib/systemd/system/kea-ctrl-agent.service
...
[Install]
WantedBy=kea-dhcp4-server.service
WantedBy=kea-dhcp6-server.service
WantedBy=kea-dhcp-ddns.service
The kea-dhcp4-server and kea-dhcp6-server services don't exists.. - But if I change the values to:
[Install]
WantedBy=kea-dhcp4.service
WantedBy=kea-dhcp6.service
WantedBy=kea-dhcp-ddns.service
It works very well..
They are using:
- Kea 1.8.2
- Centos 7