← Back to team overview

touch-packages team mailing list archive

[Bug 1503680] Re: dhclient for eth0 does never exit and retries dhcp foerever

 

dhclient.conf has "timeout 300" set by default in ubuntu so
theoretically according to the manpge it should exit after 5min. this
looks like a bug in dhclient itself

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

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

Title:
  dhclient for eth0 does never exit and retries dhcp foerever

Status in Snappy:
  New
Status in isc-dhcp package in Ubuntu:
  New

Bug description:
  When booting snappy without eth0 connected, dhclient runs forever
  trying to retrieve DHCP every 5 minutes.

  dhclient is run with the -1 parameter which is supposed to try only
  once and exit after trying.

         -1     Try  to  get  a  lease  once.   On failure exit with code 2.  In
                DHCPv6 this sets the maximum duration of the initial exchange to
                timeout (from dhclient.conf(5) with a default of sixty seconds).

  Though dhclient keeps running / does not exit.

  If dhclient is changed to exit after failure, it must be insured that
  it will be restarted when the network interface gets a physical link.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1503680/+subscriptions