[Bug 1163141] Re: isc-dhcp server not starting at boot

Stéphane Graber stgraber at stgraber.org
Thu May 23 15:08:14 UTC 2013


I agree that in a perfect world we'd check for the network interfaces
and start isc-dhcp based on that, however this involves rather complex
parsing of the dhcpd.conf configuration and then dynamic update of the
upstart job, which is close to impossible (and not allowed by standard
packaging policies).

I can see a few ways to solve your issue however:
 - Don't use NetworkManager
 - Add a hook in /etc/NetworkManager/dispatcher.d/ which starts isc-dhcp whenever the network comes online

Marking the bug as Won't fix as properly fixing this would mean a lot of
changes in various bits (isc-dhcp, upstart, network-manager, ...) which
we don't intend to do in the near future.

** Changed in: isc-dhcp (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1163141

Title:
  isc-dhcp server not starting at boot

Status in “isc-dhcp” package in Ubuntu:
  Won't Fix

Bug description:
  I installed isc-dhcp-server and started it manually.

  After reboot the server didn't start.

  Checking the syslog

  Apr  2 07:57:18 paolo dhcpd: 
  Apr  2 07:57:18 paolo dhcpd: No subnet declaration for eth0 (no IPv4 addresses).
  Apr  2 07:57:18 paolo dhcpd: ** Ignoring requests on eth0.  If this is not what
  Apr  2 07:57:18 paolo dhcpd:    you want, please write a subnet declaration
  Apr  2 07:57:18 paolo dhcpd:    in your dhcpd.conf file for the network segment
  Apr  2 07:57:18 paolo dhcpd:    to which interface eth0 is attached. **
  Apr  2 07:57:18 paolo dhcpd: 
  Apr  2 07:57:18 paolo dhcpd: 
  Apr  2 07:57:18 paolo dhcpd: Not configured to listen on any interfaces!

  Actually etho will be 192.168.0.3, but I suppose that network-manager
  hasn't activated it yet.

  I suppose that upstart isc-dhcp-server entry should check interface
  activation before starting the server.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: isc-dhcp-server 4.2.4-1ubuntu10.2
  ProcVersionSignature: Ubuntu 3.5.0-26.28-lowlatency 3.5.7.6
  Uname: Linux 3.5.0-26-lowlatency i686
  ApportVersion: 2.6.1-0ubuntu10
  Architecture: i386
  Date: Tue Apr  2 09:04:57 2013
  DhServerLeases:
   
  InstallationDate: Installed on 2011-03-15 (748 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  MarkForUpload: True
  SourcePackage: isc-dhcp
  UpgradeStatus: Upgraded to quantal on 2012-12-30 (92 days ago)
  mtime.conffile..etc.dhcp.dhcpd.conf: 2013-03-30T10:45:14.025053

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1163141/+subscriptions




More information about the foundations-bugs mailing list