[Bug 641421] Re: Using udhcpc, no retry on fail to get a lease from server

Launchpad Bug Tracker 641421 at bugs.launchpad.net
Thu May 31 12:10:59 UTC 2012


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: ifupdown (Ubuntu)
       Status: New => Confirmed

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

Title:
  Using udhcpc, no retry on fail to get a lease from server

Status in “ifupdown” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: ifupdown

  In http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/lucid/ifupdown/lucid/annotate/head:/inet.defn
  line 84.

  The execution of udhcpc is always with -n:

  -n, --now
          Exit with failure if a lease cannot be obtained.

  So, on ifup [iface], if the network interface is not plugged in, the
  client will exit. No retry.

  This behavior is different than using dhclient3:

  # dhclient3 eth1
  Internet Systems Consortium DHCP Client V3.1.3
  Copyright 2004-2009 Internet Systems Consortium.
  All rights reserved.
  For info, please visit https://www.isc.org/software/dhcp/

  Listening on LPF/eth1/00:d0:c9:b7:75:ff
  Sending on   LPF/eth1/00:d0:c9:b7:75:ff
  Sending on   Socket/fallback
  DHCPDISCOVER on vlan3 to 255.255.255.255 port 67 interval 3
  DHCPDISCOVER on vlan3 to 255.255.255.255 port 67 interval 8
  DHCPDISCOVER on vlan3 to 255.255.255.255 port 67 interval 12
  DHCPDISCOVER on vlan3 to 255.255.255.255 port 67 interval 8
  DHCPDISCOVER on vlan3 to 255.255.255.255 port 67 interval 18
  DHCPDISCOVER on vlan3 to 255.255.255.255 port 67 interval 12
  No DHCPOFFERS received.
  No working leases in persistent database - sleeping.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/641421/+subscriptions




More information about the foundations-bugs mailing list