On Thu, 24 Mar 2016 08:43:52 +0000 David Westlund <david.westl...@axis.com>
wrote:
> 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.


Please don't use _SYSTEMCTL_SKIP_REDIRECT=1, it's an internal implementation
detail.

I think the best way to fix this is to provide a native .service file for
isc-dhcp-server, not trying to extend the LSB init-functions hook.

Regards,
Michael

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to