[pkg-dhcp-devel] Bug#819156: isc-dhcp-server init script does not check syntas on start or restart when used through systemd
david.westlund at axis.com
Thu Mar 24 08:43:52 UTC 2016
The init script for isc-dhcp-server has code that checks the syntax of the configuration files before doing a start or restart. When used through systemd, the start and restart code seems to be overridden and no syntax check is done. As a result, updating the dhcpd configuration and doing a restart can result in the dhcp server being shut down and not being restarted again. The intention of the init script is to not shut down the dhcp server if the new configuration is broken.
If systemd is turned off by adding "_SYSTEMCTL_SKIP_REDIRECT=1" above ". /lib/lsb/init-functions" in the init script, the script works as expected.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pkg-dhcp-devel