*.pid files are created in incorrect place
PID files are created in /
test@debian8-64-1-dhcp:~/jenkins_lab/var/area_A/sbin$ ls -la /
total 104
drwxr-xr-x 22 root root 4096 Oct 1 02:58 .
drwxr-xr-x 22 root root 4096 Oct 1 02:58 ..
drwxr-xr-x 2 root root 4096 Nov 9 2017 bin
drwxr-xr-x 3 root root 4096 Nov 9 2017 boot
drwxr-xr-x 17 root root 3240 Jan 12 2018 dev
drwxr-xr-x 97 root root 4096 Oct 1 02:21 etc
drwxr-xr-x 4 root root 4096 Mar 29 2013 home
lrwxrwxrwx 1 root root 31 Nov 9 2017 initrd.img -> /boot/initrd.img-3.16.0-4-amd64
lrwxrwxrwx 1 root root 30 Mar 29 2013 initrd.img.old -> /boot/initrd.img-3.2.0-4-amd64
-rw-r--r-- 1 root root 6 Oct 1 02:58 kea.kea-ctrl-agent.pid
-rw-r--r-- 1 root root 6 Oct 1 02:50 kea.kea-dhcp6.pid
-rw-r--r-- 1 root root 6 Oct 1 02:54 kea.kea-dhcp-ddns.pid
even if kea was installed with prefix: /home/test/jenkins_lab/var/area_A/
$ ./configure --prefix=/home/test/jenkins_lab/var/area_A/ --with-pgsql --with-mysql --enable-shell
and because keactrl has coded correct prefix:
test@debian8-64-1-dhcp:~/jenkins_lab/var/area_A/sbin$ cat keactrl | grep prefix
local pid_file_dir=${prefix}/var/kea
prefix=/home/test/jenkins_lab/var/area_A
export KEA_LOGGER_DESTINATION=${prefix}/var/kea/kea.log
prefix=/home/test/jenkins_lab/var/area_A
keactrl_conf=${prefix}/etc/kea/keactrl.conf
it's unable to detect if kea is running.