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

Carl Karsten carl at personnelware.com
Sun Nov 13 02:12:13 UTC 2011


Public bug reported:

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.

** Affects: isc-dhcp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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