| Summary: | NM ignores IPv6 setting received from OpenVPN | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Včelák <jv+fedora> |
| Component: | NetworkManager-openvpn | Assignee: | Dan Williams <dcbw> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | choeger, david, dcbw, huzaifas, jklimes, psimerda, steve, thaller, tore, vg.aetera |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-01 04:05:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jan Včelák
2013-11-23 21:48:15 UTC
Added upstream tracker in hope it's relevant. Btw. as the network manager in KDE is completely different in Fedora 20, the IPv6 configuration for VPN was removed. I hope this will have a better resolution... NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20 % rpm -qa "*NetworkManager*" NetworkManager-0.9.9.0-26.git20131003.fc20.x86_64 NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20.x86_64 NetworkManager-openvpn-gnome-0.9.9.0-0.1.git20140128.fc20.x86_64 NetworkManager-glib-0.9.9.0-26.git20131003.fc20.x86_64 The IPv6 configuration seems to be recognized, but NM crashes afterwards: Jan 29 10:15:33 hostname NetworkManager[25163]: <info> VPN connection 'xxx' (IP Config Get) reply received. Jan 29 10:15:33 hostname NetworkManager[25163]: <info> VPN connection 'xxx' (IP4 Config Get) reply received. Jan 29 10:15:33 hostname NetworkManager[25163]: <info> VPN plugin state changed: started (4) Jan 29 10:15:33 hostname NetworkManager[25163]: <info> VPN connection 'xxx' (IP6 Config Get) reply received. Jan 29 10:15:33 hostname NetworkManager[25163]: <info> VPN Gateway: xxx.xx.xxx.x Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Tunnel Device: tun0 Jan 29 10:15:33 hostname NetworkManager[25163]: <info> IPv4 configuration: Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Internal Gateway: xxx.xx.xx.xx Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Internal Address: xxx.xx.xx.xx Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Internal Prefix: 32 Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Internal Point-to-Point Address: xxx.xx.xx.xx Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Maximum Segment Size (MSS): 0 Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Static Route: xxx.xx.xx.x/32 Next Hop: xxx.xx.xx.xx ... Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Static Route: xxx.xx.xxx.xxx/30 Next Hop: xxx.xx.xx.xx Jan 29 10:15:33 hostname nm-openvpn[25345]: Initialization Sequence Completed Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Static Route: xxx.xx.xxx.xxx/29 Next Hop: xxx.xx.xx.xx ... Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Static Route: xxx.xx.x.x/24 Next Hop: xxx.xx.xx.xx Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Forbid Default Route: yes Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Internal DNS: xxx.xx.xx.x Jan 29 10:15:33 hostname NetworkManager[25163]: <info> DNS Domain: '(none)' Jan 29 10:15:33 hostname NetworkManager[25163]: <info> IPv6 configuration: Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Internal Address: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Internal Prefix: 120 Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Internal Point-to-Point Address: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Maximum Segment Size (MSS): 0 Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Static Route: xxxx:xxxx::/32 Next Hop: xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx Jan 29 10:15:33 hostname NetworkManager[25163]: <info> Forbid Default Route: no Jan 29 10:15:33 hostname NetworkManager[25163]: <info> DNS Domain: '(none)' Jan 29 10:15:33 hostname NetworkManager[25163]: <info> (tun0): link connected Jan 29 10:15:33 hostname dbus[585]: [system] Activating via systemd: service name='org.freedesktop.NetworkManager' unit='dbus-org.freedesktop.NetworkManager.service' Jan 29 10:15:33 hostname NetworkManager[25350]: <info> NetworkManager (version 0.9.9.0-26.git20131003.fc20) is starting... (In reply to Jan Včelák from comment #4) > % rpm -qa "*NetworkManager*" > NetworkManager-0.9.9.0-26.git20131003.fc20.x86_64 > NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20.x86_64 > NetworkManager-openvpn-gnome-0.9.9.0-0.1.git20140128.fc20.x86_64 > NetworkManager-glib-0.9.9.0-26.git20131003.fc20.x86_64 I *think* you see the crash because NetworkManager-0.9.9.0-26 does not have this patch from upstream: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=90782cf023c2fc2c223203a97ca2ea56a0c61c55 (as mentioned in upstream bugzilla https://bugzilla.gnome.org/show_bug.cgi?id=682620) I am a bit surprised, that you don't see as last logline: ** ERROR:platform/nm-linux-platform.c:2212:build_rtnl_addr: assertion failed: (!nle) Could you confirm, that NetworkManager crashes because of this failed assert? E.g. set the log-level to DEBUG or run it in the terminal with: NetworkManager --debug --log-level=DEBUG --log-domains=ALL Thank you Interesting, I'm running NetworkManager-0.9.9.0-26.git20131003.fc20.x86_64 + NetworkManager-openvpn-0.9.8.2-4.fc20.x86_64, the latter patched with the upstream commit adding IPv6 support, and I do not get the crash. Under "IPv6 configuration" however NM logs "Internal Point-to-Point Address: ::" instead of a real IPv6 address like with Jan. I'm thinking maybe this has something to do with upstream changes in OpenVPN. Jan, could you test with OpenVPN 2.4 (http://fud.no/nm-openvpn-ipv6/openvpn-2.4.0-0.git20131215.fc20.x86_64.rpm) and see if you get the crash then? Tore Jan, can you try with this scratch build of NetworkManager? http://koji.fedoraproject.org/koji/taskinfo?taskID=6467191 It contains 90782cf023c2fc2c223203a97ca2ea56a0c61c55 commit fixing an assert. (In reply to Jirka Klimes from comment #7) > Jan, can you try with this scratch build of NetworkManager? > http://koji.fedoraproject.org/koji/taskinfo?taskID=6467191 > > It contains 90782cf023c2fc2c223203a97ca2ea56a0c61c55 commit fixing an assert. I reproduced Jan's crash with NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20, and can confirm that NetworkManager-0.9.9.0-27_1.git20131003.fc20.x86_64 from the above scratch build fixes it. Tore NetworkManager-0.9.9.0-28.git20131003.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/NetworkManager-0.9.9.0-28.git20131003.fc20 Tore, thanks for testing! (In reply to Fedora Update System from comment #9) > NetworkManager-0.9.9.0-28.git20131003.fc20 has been submitted as an update > for Fedora 20. > https://admin.fedoraproject.org/updates/NetworkManager-0.9.9.0-28. > git20131003.fc20 The submitted NetworkManager should work with NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20. Package NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-1746/NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20 then log in and leave karma (feedback). > Could you confirm, that NetworkManager crashes because of this failed > assert? E.g. set the log-level to DEBUG or run it in the terminal with: > > NetworkManager --debug --log-level=DEBUG --log-domains=ALL NetworkManager[3966]: <debug> [1391082060.935455] [platform/nm-platform.c:1125] nm_platform_ip6_address_add(): address: adding or updating IPv6 address ** ERROR:platform/nm-linux-platform.c:2264:build_rtnl_addr: assertion failed: (!nle) Neúspěšně ukončen (SIGABRT) [root@hostname ~]# > Jan, can you try with this scratch build of NetworkManager? > http://koji.fedoraproject.org/koji/taskinfo?taskID=6467191 > > It contains 90782cf023c2fc2c223203a97ca2ea56a0c61c55 commit fixing an assert. I have tried and I confirm that the assertion failure is gone. NetworkManager-0.9.9.0-28.git20131003.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. NetworkManager-openvpn-0.9.9.0-0.1.git20140128.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |