Public bug reported:

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.

** Affects: ifupdown (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Using udhcpc, no retry on fail to get a lease from server
https://bugs.launchpad.net/bugs/641421
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to