#819156 isc-dhcp-server init script does not check syntas on start or restart when used through systemd

Package:
isc-dhcp-server
Source:
isc-dhcp
Description:
ISC DHCP server for automatic IP address assignment
Submitter:
David Westlund
Date:
2026-08-05 17:34:01 UTC
Severity:
wishlist
Blocked By:
Bug Title
826011

  2

init-system-helpers: Support for compound target units as first-order services

normal stable testing unstable over 7 years ago

#819156#5
Date:
2016-03-24 08:43:52 UTC
From:
To:
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

#819156#20
Date:
2021-11-12 20:26:37 UTC
From:
To:
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.
/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

#819156#23
Date:
2026-08-05 17:31:09 UTC
From:
To:
Dear submitter,

as the package isc-dhcp has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1143544

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)