[pkg-dhcp-devel] Bug#815319: Fix for upgrade process

Tim Myra timmyra at timmyra.com
Mon Jun 13 05:17:43 UTC 2016

Ignore my previous message -- Seems my testing was done with INTERFACES 
being set in /etc/defaults/isc-dhcp-server... (whoops!)

After reverting my configs/init.d scripts to the originals, and more 
thorough testing, I've determined adding the below code in 
/etc/init.d/isc-dhcp-server after line 153 in 4.3.4-1 (the end of the 
"start" "case" statement) will start isc-dhcp-server even when none of the 
"INTERFACES" variables are set in /etc/defaults/isc-dhcp-server:

                # If both $INTERFACESv4/v6 is 0-length, determine version to 
launch based on
                # which version of config file exists
                if test -z "$INTERFACESv4" -a -z "$INTERFACESv6"; then
                        if test -e "$DHCPDv6_CONF"; then
                                start_daemon "-6" "$DHCPDv6_CONF" "$NAME6" \
                                        "$DHCPDv6_PID" "$DESC6"
                        elif test -e "$DHCPDv4_CONF"; then
                                start_daemon "-4" "$DHCPDv4_CONF" "$NAME4" \
                                        "$DHCPDv4_PID" "$DESC4"

More information about the pkg-dhcp-devel mailing list