Kea daemonization
There are some best practices on how unix daemons should behave. Some of these are not met on Kea. You can read little old but still up-to-date howto document for general overview how to linux daemons should work: http://www.netzmafia.de/skripten/unix/linux-daemon-howto.html
In particular:
- Kea should put its daemons into background, not stay foreground
- daemons should unbind their stdin, stdout and stderr from current streams (i.e. terminal) and bind them to /dev/null or alternatively stdout and stderr may be binded to log file
- daemons should release their controlling terminal (setsid) because they don't communicate with users this way
- daemons should change current working directory to root (/) not to lock any possible mount points
- daemons should ignore all signals which is not significant to it (i.e. SIGPIPE)