Red Hat Bugzilla – Bug 217310
Race starting dhcp6c from ifup
Last modified: 2014-03-16 23:04:13 EDT
Description of problem:
I have ifcfg-foo as follows:
eth0 is an ipw2200 wireless card.
Running 'ifup foo', IPv6 configuration fails with no immediate visible output.
/var/log/messages contains the error:
Nov 26 13:30:11 mbooth dhcp6c: bind(inbound): Cannot assign requested address
Editing the ifup script to pass the options -fD to dhcp6c gives more:
Determining IP information for eth0... done.
Nov/26/2006 21:14:28 extracted an existing DUID from
Nov/26/2006 21:14:28 link local addr is xxxx::xxx:xxxx:xxxx:xxxx
Nov/26/2006 21:14:28 res addr is xxxx::xxx:xxxx:xxxx:xxxx%eth0/28
Nov/26/2006 21:14:28 bind(inbound): Cannot assign requested address
Editing the ifup script to put 'sleep 5' immediately before the dhcp6c resolves
this problem. The 'res addr' used in the successful case is identical to the
Version-Release number of selected component (if applicable):
If a sleep 5 fixes it in the ifup script, I'm ok with that. The dhcpv6 code is
a mess anyway. We run ifup-ipv6 before dhcp6c runs and the state changes
involved there are confusing dhcp6c.
If we don't add a sleep 5 to the init script, the script should more gracefully
handle this failure. I dunno. Seems like the scripts are the better place to
do this. Reassigning.
Egads, apologies for the delay. Does this persist on later releases such as 5.2/5.3?
Unfortunately I can't test this any more. Feel free to close it.
OK, closing. Sorry about that. (We haven't heard other reports of this.)