[Bug 889687] Re: install server, fails to to start with invalid config

Stéphane Graber stgraber at stgraber.org
Mon May 28 00:55:35 UTC 2012


It's policy to always start any daemon we install, that's also why we
don't ship any valid configuration in the package as shipping a valid
configuration would start a dhcp server.

Instead the daemon tries to start at package install time and at boot
time but will simply fail until you give it a valid configuration.

** 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/889687

Title:
  install server, fails to to start with invalid config

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

Bug description:
  sudo apt-get install isc-dhcp-server
  installing...
  starting ...  [fail]

  Personally I don't actually want it to start - you don't want to bring
  up a dhcp server on install, it will most likely break your network.

  So pretty much just remove the 'start server' part of the install
  scripts.

  And then maybe setup a valid config that is similar to what wifi APs
  do:

  subnet 192.168.1.0  netmask 255.255.255.0 {
          range 192.168.1.10 192.168.1.254 ;
          option broadcast-address 192.168.1.255;
          option routers  192.168.1.1 ;
  }

  dns is 'tricky' - APs have a dns forwarder, dhcpd does not (fine.)
  I would be happy if the install  grabbed what was currently in /etc/resolve.conf:
  $ grep nameserver /etc/resolv.conf 
  nameserver 192.168.1.7

          option domain-name-servers 192.168.1.7;

  yeah, it isn't quite that easy, but it's very doable.

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




More information about the foundations-bugs mailing list