← Back to team overview

touch-packages team mailing list archive

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

 

simon: starting dhclient on connect should be done by ifup once the link
exists and if allow-hotplug is set in /etc/network/interfaces.d/eth0 ...
does this not happen if you manually kill dhclient and then connect a
cable ?

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