[pkg-dhcp-devel] Bug#819156: isc-dhcp-server init script does not check syntas on start or restart when used through systemd
David Westlund
david.westlund at axis.com
Thu Mar 24 08:43:52 UTC 2016
Package: isc-dhcp-server
Version: 4.3.1-6+deb8u2
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.
BR,
David Westlund
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20160324/5cc492cc/attachment.html>
More information about the pkg-dhcp-devel
mailing list