Description of problem: If NetworkManager learns an name server with a link-local IPv6 address via DHCPv6 (the bug probably applies to RDNSS too, but I have not verified), it will write the address to /etc/resolv.conf without appending the interface ID. Since this address is ambiguous to glibc, it cannot be used. Version-Release number of selected component (if applicable): NetworkManager-0.8.9997-5.git20110702.fc15.x86_64 How reproducible: 100% Steps to Reproduce: 1. Connect to a network that announces a link-local IPv6 nameserver using DHCPv6. In my case, this is done by the default behaviour of a ZyXEL P-2812HNU-F3 VDSL router, and is logged thusly by NetworkManager: [...] <info> Activation (eth0) Stage 4 of 5 (IP6 Configure Get) started... <info> address 2001:840:3033:10::d001 <info> prefix 64 <info> nameserver 'fe80::ca6c:87ff:feab:d027' <info> nameserver '2001:840:100::' <info> nameserver '2001:840:200::' <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled... [...] Actual results: I end up with a resolv.conf containing the following: > # Generated by NetworkManager > search fud.no > nameserver fe80::ca6c:87ff:feab:d027 > nameserver 2001:840:100:: > nameserver 2001:840:200:: Expected results: Ending up with a resolv.conf that specified the interface ID for the link-local address, in my case like so: > # Generated by NetworkManager > search fud.no > nameserver fe80::ca6c:87ff:feab:d027%eth0 > nameserver 2001:840:100:: > nameserver 2001:840:200:: Additional info: In my case with the ZyXEL P-2812HNU-F3, this isn't a major problem as it also announces its upstream resolvers as the scondary and tertiary server. glibc will seamlessly and without delay fail over to those. However, the link-local address (which belongs to the ZyXEL itself) had been the only address that was being announced, any attempt to resolve anything would likely have failed.
Fixed upstream: c3893b5325ca61261be1749490352f26b41bd479 (master) 31e0c67aab27b467348e533026d66cba85241b37 (NM_0_8)
Thanks Jirka, I can confirm that the fix works well for me. Tore
NetworkManager-0.8.9997-6.git20110721.fc15,NetworkManager-openswan-0.8.999-2.git20110721.fc15,NetworkManager-openvpn-0.8.9997-2.git20110721.fc15,NetworkManager-vpnc-0.8.999-3.git20110721.fc15,NetworkManager-pptp-0.8.999-2.git20110721.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/NetworkManager-0.8.9997-6.git20110721.fc15,NetworkManager-openswan-0.8.999-2.git20110721.fc15,NetworkManager-openvpn-0.8.9997-2.git20110721.fc15,NetworkManager-vpnc-0.8.999-3.git20110721.fc15,NetworkManager-pptp-0.8.999-2.git20110721.fc15
Package NetworkManager-0.8.9997-6.git20110721.fc15, NetworkManager-openswan-0.8.999-2.git20110721.fc15, NetworkManager-openvpn-0.8.9997-2.git20110721.fc15, NetworkManager-vpnc-0.8.999-3.git20110721.fc15, NetworkManager-pptp-0.8.999-2.git20110721.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing NetworkManager-0.8.9997-6.git20110721.fc15 NetworkManager-openswan-0.8.999-2.git20110721.fc15 NetworkManager-openvpn-0.8.9997-2.git20110721.fc15 NetworkManager-vpnc-0.8.999-3.git20110721.fc15 NetworkManager-pptp-0.8.999-2.git20110721.fc15' as soon as you are able to, then reboot. Please go to the following url: https://admin.fedoraproject.org/updates/NetworkManager-0.8.9997-6.git20110721.fc15,NetworkManager-openswan-0.8.999-2.git20110721.fc15,NetworkManager-openvpn-0.8.9997-2.git20110721.fc15,NetworkManager-vpnc-0.8.999-3.git20110721.fc15,NetworkManager-pptp-0.8.999-2.git20110721.fc15 then log in and leave karma (feedback).
NetworkManager-0.8.9997-6.git20110721.fc15, NetworkManager-openswan-0.8.999-2.git20110721.fc15, NetworkManager-openvpn-0.8.9997-2.git20110721.fc15, NetworkManager-vpnc-0.8.999-3.git20110721.fc15, NetworkManager-pptp-0.8.999-2.git20110721.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.