keactrl try to stop kea services twice?
It looks like keactrl try to stop kea-dhcp4 and kea-ctrl-agent twice:
- start:
wlodek@debian9-64-2:~ $ sudo /home/wlodek/installed/git/sbin/keactrl start
INFO/keactrl: Starting /home/wlodek/installed/git/sbin/kea-dhcp4 -c /home/wlodek/installed/git/etc/kea/kea.conf
INFO/keactrl: Starting /home/wlodek/installed/git/sbin/kea-ctrl-agent -c /home/wlodek/installed/git/etc/kea/kea.conf
wlodek@debian9-64-2:~ $ 2019-03-14 03:47:15.082 INFO [kea-ctrl-agent.ctrl-agent/380] CTRL_AGENT_STARTED Kea Control Agent version 1.5.0-git started
- check:
wlodek@debian9-64-2:~ $ ps -aux | grep kea
root 372 0.2 1.2 145160 19752 pts/0 S 03:47 0:00 /home/wlodek/installed/git/sbin/kea-dhcp4 -c /home/wlodek/installed/git/etc/kea/kea.conf
root 380 0.0 0.5 69744 8204 pts/0 S 03:47 0:00 /home/wlodek/installed/git/sbin/kea-ctrl-agent -c /home/wlodek/installed/git/etc/kea/kea.conf
wlodek 390 0.0 0.0 11108 968 pts/0 S+ 03:47 0:00 grep kea
- stop:
wlodek@debian9-64-2:~ $ sudo /home/wlodek/installed/git/sbin/keactrl stop
INFO/keactrl: Stopping kea-dhcp4...
ERROR/keactrl: Stop failed, could not send signal 15 to process , PID 372.\n
INFO/keactrl: kea-dhcp6 isn't running.
INFO/keactrl: kea-dhcp-ddns isn't running.
INFO/keactrl: Stopping kea-ctrl-agent...
ERROR/keactrl: Stop failed, could not send signal 15 to process , PID 380.\n
2019-03-14 03:47:27.591 INFO [kea-ctrl-agent.dctl/380] DCTL_SHUTDOWN Control-agent has shut down, pid: 380, version: 1.5.0-git
INFO/keactrl: kea-netconf isn't running.
we don't want to see this ERROR/keactrl: Stop failed, could not send signal 15 to process , PID 372.\n
especially when kea was stopped successfully:
wlodek@debian9-64-2:~ $ ps -aux | grep kea
wlodek 446 0.0 0.0 11108 948 pts/0 S+ 03:47 0:00 grep kea
Looks like this was a build when it was introduced: https://jenkins.isc.org/job/kea-master-system-tests-v6/120/ so during fight with shell check