ISC DHCP Server 4.3.5-3ubuntu7.2 stops working

Bug #1921750 reported by Walt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
isc-dhcp (Ubuntu)
New
Undecided
Unassigned

Bug Description

After updating isc-dhcp-server from 4.3.5-3ubuntu7.1 to 4.3.5-3ubuntu7.2 dhcpd failed to start
After downgrade dhcpd still working

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic

# apt-cache policy isc-dhcp-server
isc-dhcp-server:
  Installed: 4.3.5-3ubuntu7.1
  Candidate: 4.3.5-3ubuntu7.2
  Version table:
     4.3.5-3ubuntu7.2 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
 *** 4.3.5-3ubuntu7.1 500
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     4.3.5-3ubuntu7 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages

I expect dhcpd running
But it fqailed to start, reporting about bond0 interface, but there is no bond0 on the server

# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 08:00:27:e0:29:c2 brd ff:ff:ff:ff:ff:ff
3: enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 08:00:27:4d:fb:20 brd ff:ff:ff:ff:ff:ff
4: enp0s8.252@enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 08:00:27:4d:fb:20 brd ff:ff:ff:ff:ff:ff
5: enp0s8.198@enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 08:00:27:4d:fb:20 brd ff:ff:ff:ff:ff:ff
6: enp0s8.255@enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 08:00:27:4d:fb:20 brd ff:ff:ff:ff:ff:ff
7: enp0s8.256@enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 08:00:27:4d:fb:20 brd ff:ff:ff:ff:ff:ff
8: enp0s8.257@enp0s8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 08:00:27:4d:fb:20 brd ff:ff:ff:ff:ff:ff

syslog following:

Mar 29 16:32:55 mn-wifidhcp02 systemd[1]: isc-dhcp-server6.service: Failed with result 'exit-code'.
Mar 29 16:32:55 mn-wifidhcp02 systemd[1]: Reloading.
Mar 29 16:32:55 mn-wifidhcp02 systemd[1]: Started ISC DHCP IPv4 server.
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: Internet Systems Consortium DHCP Server 4.3.5
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: Copyright 2004-2016 Internet Systems Consortium.
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: All rights reserved.
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: For info, please visit https://www.isc.org/software/dhcp/
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: Config file: /etc/dhcp/dhcpd.conf
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: Database file: /var/lib/dhcp/dhcpd.leases
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: PID file: /run/dhcp-server/dhcpd.pid
Mar 29 16:32:55 mn-wifidhcp02 systemd[1]: Reloading.
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: Wrote 10210 leases to leases file.
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: No subnet declaration for bond1.257 (no IPv4 addresses).
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: ** Ignoring requests on bond1.257. If this is not what
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: you want, please write a subnet declaration
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: in your dhcpd.conf file for the network segment
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: to which interface bond1.257 is attached. **
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: No subnet declaration for bond1.256 (no IPv4 addresses).
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: ** Ignoring requests on bond1.256. If this is not what
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: you want, please write a subnet declaration
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: in your dhcpd.conf file for the network segment
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: to which interface bond1.256 is attached. **
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: No subnet declaration for bond1.255 (no IPv4 addresses).
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: ** Ignoring requests on bond1.255. If this is not what
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: you want, please write a subnet declaration
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: in your dhcpd.conf file for the network segment
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: to which interface bond1.255 is attached. **
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: No subnet declaration for bond1.252 (no IPv4 addresses).
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: ** Ignoring requests on bond1.252. If this is not what
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: you want, please write a subnet declaration
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: in your dhcpd.conf file for the network segment
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: to which interface bond1.252 is attached. **
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: Not configured to listen on any interfaces!
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: If you think you have received this message due to a bug rather
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: than a configuration issue please read the section on submitting
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: bugs on either our web page at www.isc.org or in the README file
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: before submitting a bug. These pages explain the proper
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: process and the information we find helpful for debugging..
Mar 29 16:32:55 mn-wifidhcp02 sh[1369]: exiting.
Mar 29 16:32:55 mn-wifidhcp02 systemd[1]: isc-dhcp-server.service: Main process exited, code=exited, status=1/FAILURE
Mar 29 16:32:55 mn-wifidhcp02 systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.

Revision history for this message
Walt (walt-ko) wrote :

Opps!
Problem in 4.3.5-3ubuntu7.2 caused by settings in file /etc/default/isc-dhcp-server
Very strange, because 4.3.5-3ubuntu7.1 working correctly
Check if revert previous behaviour is possible

# cat /etc/default/isc-dhcp-server
# Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server)

# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPDv4_CONF=/etc/dhcp/dhcpd.conf
#DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf

# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPDv4_PID=/var/run/dhcpd.pid
#DHCPDv6_PID=/var/run/dhcpd6.pid

# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""

# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="bond1.252 bond1.255 bond1.256 bond1.257"
INTERFACESv6=""

Revision history for this message
Walt (walt-ko) wrote :

Fix /etc/default/isc-dhcp-server helps:

Mar 29 17:13:41 mn-wifidhcp02 systemd[1]: Started ISC DHCP IPv4 server.
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Internet Systems Consortium DHCP Server 4.3.5
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Copyright 2004-2016 Internet Systems Consortium.
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: All rights reserved.
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: For info, please visit https://www.isc.org/software/dhcp/
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Config file: /etc/dhcp/dhcpd.conf
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Database file: /var/lib/dhcp/dhcpd.leases
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: PID file: /run/dhcp-server/dhcpd.pid
Mar 29 17:13:41 mn-wifidhcp02 systemd[1]: Reloading.
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Wrote 10210 leases to leases file.
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Listening on LPF/enp0s8.257/08:00:27:4d:fb:20/Guest
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Sending on LPF/enp0s8.257/08:00:27:4d:fb:20/Guest
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Listening on LPF/enp0s8.256/08:00:27:4d:fb:20/Employee
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Sending on LPF/enp0s8.256/08:00:27:4d:fb:20/Employee
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Listening on LPF/enp0s8.255/08:00:27:4d:fb:20/Guest-YYY
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Sending on LPF/enp0s8.255/08:00:27:4d:fb:20/Guest-YYY
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Listening on LPF/enp0s8.252/08:00:27:4d:fb:20/Guest-XXX
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Sending on LPF/enp0s8.252/08:00:27:4d:fb:20/Guest-XXX
Mar 29 17:13:41 mn-wifidhcp02 sh[13678]: Sending on Socket/fallback/fallback-net

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.