Red Hat Bugzilla – Bug 531997
dhclient-script is broken for IPv6
Last modified: 2009-11-16 02:28:35 EST
Description of problem:
Even if a successful IPv6 address is passed to this script, it is not added to the interface.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Add DHCPV6V=yes info ifcfg-eth? and restart network.
No IPv6 address added to the interface.
IPv6 address added to the interface.
The culprit is some bugs in dh6client function:
1. "break" is used in "case" and this is wrong, just remove "break".
2. The logic is twisted in tested for new_ipv6_address and new_ipv6_prefixlen: "-n" is used where "-z" must be used.
Created attachment 366769 [details]
Removes "break" and fix the logic.
Still missing is the following: make_resolv_conf should be aware that two dhclient instances (one IPv4 and one IPv6) can set the nameservers.
It should allow them to coexists.
What do you think?
dhcp-4.1.0p1-13.fc12 has been submitted as an update for Fedora 12.
dhcp-4.1.0p1-13.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update dhcp'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2009-11144
dhcp-4.1.0p1-13.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.