keactrl unable to kill kea processes
This is my testing setup:
wlodek@debian9-64-2:kea (master) $ ps -aux | grep kea
root 17157 0.0 0.9 139624 15880 ? S 05:32 0:00 /home/wlodek/installed/git/sbin/kea-dhcp6 -c /home/wlodek/installed/git/etc/kea/kea.conf
root 17164 0.0 0.6 69876 9604 ? S 05:32 0:00 /home/wlodek/installed/git/sbin/kea-ctrl-agent -c /home/wlodek/installed/git/etc/kea/kea.conf
wlodek 28915 0.0 0.0 11108 936 pts/0 S+ 05:48 0:00 grep kea
wlodek@debian9-64-2:kea (master) $ sudo kill 17157 17164
wlodek@debian9-64-2:kea (master) $ sudo find / -name "kea*pid"
/home/wlodek/installed/git/var/run/kea/kea.kea-dhcp6.pid
/home/wlodek/installed/git/var/run/kea/kea.kea-ctrl-agent.pid
wlodek@debian9-64-2:kea (master) $ sudo /home/wlodek/installed/git/sbin/keactrl status
DHCPv4 server: inactive
DHCPv6 server: inactive
DHCP DDNS: inactive
Control Agent: inactive
Netconf agent: inactive
Kea DHCPv4 configuration file: /home/wlodek/installed/git/etc/kea/kea.conf
Kea DHCPv6 configuration file: /home/wlodek/installed/git/etc/kea/kea.conf
Kea DHCP DDNS configuration file: /home/wlodek/installed/git/etc/kea/kea.conf
Kea Control Agent configuration file: /home/wlodek/installed/git/etc/kea/kea.conf
Kea Netconf configuration file: /home/wlodek/installed/git/etc/kea/kea.conf
keactrl configuration file: /home/wlodek/installed/git/etc/kea/keactrl.conf
kea is running but it can't be killed by keactrl. PID files are created in /install-dir/var/run/kea and keactrl is looking for those files in /run/kea. Bug introduced in #538 (closed)