#942489 isc-dhcp-server: init script forces specification of interface in order to choose protocol

Package:
isc-dhcp-server
Source:
isc-dhcp
Description:
ISC DHCP server for automatic IP address assignment
Submitter:
Aaron Bugher
Date:
2026-08-05 17:34:23 UTC
Severity:
normal
Tags:
#942489#5
Date:
2019-10-17 07:19:43 UTC
From:
To:
Dear Maintainer,

The init script tries to launch two parallel instances of dhcpd, one
each for ipv4 and ipv6, unless INTERFACESv4 or INTERFACESv6 is
specified.  The man page says:

My system doesn't seem to require this.  We can avoid a specification
which could become wrong if the environment changes.
the init script from trying to launch an instance for IPv6.  That instance just
failed immediately, causing the init script to return failure.

Ultimately I modified the init script to respect two new variables:
IPV4ONLY and IPV6ONLY.  I modified the "start" case to enter the
ipv4-only or ipv6-only behavior, respectively, if either is set.
INTERFACESv4 should still work, but specifying interfaces is no longer
mandatory.

isc-dhcp-server.patch - for /etc/init.d/isc-dhcp-server - is attached.

I changed some if/then keywords, slightly, to accommodate.  Oh, the
status action seemed parallel to the start action, but missing a few
lines, so I added them.  Let me know if that should be a separate patch,
or if it's a bad idea.

The outcome of specifying "OPTIONS=-4" was a failed instance of dhcpd, but that
makes sense given the structure of the init script.

The outcome of modifying the init script is a working server and
successful return codes from the init script.

I expected it to work because I'm awesome.  Oh, I expected, originally, for the
init script to let me choose a protocol, since it seems to allow that, without
also forcing me to specify which interface(s) to use.

#942489#10
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)