[pkg-dhcp-devel] Bug#755834: How to reproduce

Russell Stuart russell-debian at stuart.id.au
Wed Feb 4 09:05:04 UTC 2015


Run the following commands as root:

  # debootstrap ssu debootstrap --variant=minbase jessie bug-755834
  # cd bug-755834
  # sed -i '1s/\*//' etc/shadow
  # systemd-nspawn --boot
  #  # ... log in as root
  # apt-get install isc-dhcp-server

The last lines of output from the final step are:

        Selecting previously unselected package isc-dhcp-server.
        Preparing to unpack .../isc-dhcp-server_4.3.1-5_amd64.deb ...
        Unpacking isc-dhcp-server (4.3.1-5) ...
        Setting up libisc-export95 (1:9.9.5.dfsg-8) ...
        Setting up libdns-export100 (1:9.9.5.dfsg-8) ...
        Setting up libisccfg-export90 (1:9.9.5.dfsg-8) ...
        Setting up libirs-export91 (1:9.9.5.dfsg-8) ...
        Setting up isc-dhcp-common (4.3.1-5) ...
        Setting up isc-dhcp-server (4.3.1-5) ...
        debconf: unable to initialize frontend: Dialog
        debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
        debconf: falling back to frontend: Readline
        debconf: unable to initialize frontend: Readline
        debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.1 /usr/local/share/perl/5.20.1 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
        debconf: falling back to frontend: Teletype
        Generating /etc/default/isc-dhcp-server...
        Job for isc-dhcp-server.service failed. See 'systemctl status isc-dhcp-server.service' and 'journalctl -xn' for details.
        invoke-rc.d: initscript isc-dhcp-server, action "start" failed.
        dpkg: error processing package isc-dhcp-server (--configure):
         subprocess installed post-installation script returned error exit status 1
        Processing triggers for libc-bin (2.19-13) ...
        E: Sub-process /usr/bin/dpkg returned an error code (1)

The message in printed by "journalctl -xn 39" is:

        -- Logs begin at Wed 2015-02-04 08:49:42 UTC, end at Wed 2015-02-04 08:50:19 UTC. --
        Feb 04 08:50:17 ernie systemd[1]: Starting LSB: DHCP server...
        -- Subject: Unit isc-dhcp-server.service has begun with start-up
        -- Defined-By: systemd
        -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
        -- 
        -- Unit isc-dhcp-server.service has begun starting up.
        Feb 04 08:50:17 ernie dhcpd[186]: Internet Systems Consortium DHCP Server 4.3.1
        Feb 04 08:50:17 ernie dhcpd[186]: Copyright 2004-2014 Internet Systems Consortium.
        Feb 04 08:50:17 ernie dhcpd[186]: All rights reserved.
        Feb 04 08:50:17 ernie dhcpd[186]: For info, please visit https://www.isc.org/software/dhcp/
        Feb 04 08:50:17 ernie dhcpd[188]: Internet Systems Consortium DHCP Server 4.3.1
        Feb 04 08:50:17 ernie dhcpd[188]: Copyright 2004-2014 Internet Systems Consortium.
        Feb 04 08:50:17 ernie dhcpd[188]: All rights reserved.
        Feb 04 08:50:17 ernie dhcpd[188]: For info, please visit https://www.isc.org/software/dhcp/
        Feb 04 08:50:17 ernie dhcpd[188]: Wrote 0 leases to leases file.
        Feb 04 08:50:17 ernie dhcpd[188]: 
        Feb 04 08:50:17 ernie dhcpd[188]: No subnet declaration for br-eth0 (113.52.1.20).
        Feb 04 08:50:17 ernie dhcpd[188]: ** Ignoring requests on br-eth0.  If this is not what
        Feb 04 08:50:17 ernie dhcpd[188]: you want, please write a subnet declaration
        Feb 04 08:50:17 ernie dhcpd[188]: in your dhcpd.conf file for the network segment
        Feb 04 08:50:17 ernie dhcpd[188]: to which interface br-eth0 is attached. **
        Feb 04 08:50:17 ernie dhcpd[188]: 
        Feb 04 08:50:17 ernie dhcpd[188]: 
        Feb 04 08:50:17 ernie dhcpd[188]: No subnet declaration for br-lan (10.79.0.2).
        Feb 04 08:50:17 ernie dhcpd[188]: ** Ignoring requests on br-lan.  If this is not what
        Feb 04 08:50:17 ernie dhcpd[188]: you want, please write a subnet declaration
        Feb 04 08:50:17 ernie dhcpd[188]: in your dhcpd.conf file for the network segment
        Feb 04 08:50:17 ernie dhcpd[188]: to which interface br-lan is attached. **
        Feb 04 08:50:17 ernie dhcpd[188]: 
        Feb 04 08:50:17 ernie dhcpd[188]: 
        Feb 04 08:50:17 ernie dhcpd[188]: Not configured to listen on any interfaces!
        Feb 04 08:50:17 ernie dhcpd[188]: 
        Feb 04 08:50:17 ernie dhcpd[188]: If you think you have received this message due to a bug rather
        Feb 04 08:50:17 ernie dhcpd[188]: than a configuration issue please read the section on submitting
        Feb 04 08:50:17 ernie dhcpd[188]: bugs on either our web page at www.isc.org or in the README file
        Feb 04 08:50:17 ernie dhcpd[188]: before submitting a bug.  These pages explain the proper
        Feb 04 08:50:17 ernie dhcpd[188]: process and the information we find helpful for debugging..
        Feb 04 08:50:17 ernie dhcpd[188]: 
        Feb 04 08:50:17 ernie dhcpd[188]: exiting.
        Feb 04 08:50:19 ernie isc-dhcp-server[181]: Starting ISC DHCP server: dhcpdcheck syslog for diagnostics. ... f
        ailed!
        Feb 04 08:50:19 ernie isc-dhcp-server[181]: failed!
        Feb 04 08:50:19 ernie systemd[1]: isc-dhcp-server.service: control process exited, code=exited status=1
        
        Feb 04 08:50:19 ernie systemd[1]: Failed to start LSB: DHCP server.
        -- Subject: Unit isc-dhcp-server.service has failed
        -- Defined-By: systemd
        -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
        -- 
        -- Unit isc-dhcp-server.service has failed.
        -- 
        -- The result is failed.
        Feb 04 08:50:19 ernie systemd[1]: Unit isc-dhcp-server.service entered failed state.

As the message says it is complaining it is not configured to listen to
any interfaces.  That is true, because there is no debconf configuration
and there has been no chance for me to edit /etc/dhcp/dhcpd.conf.  And
since it's only job in life is to assign IP addresses and no one has yet
told it which ones is can hand out it unceremoniously exits.

It shouldn't be started at all.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-dhcp-devel/attachments/20150204/f5729dad/attachment.sig>


More information about the pkg-dhcp-devel mailing list