Bug 1231338
| Summary: | /usr/libexec/nm-openvpn-service-openvpn-helper handles restart in script wrongfully, resulting in lost routes | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rolf Fokkens <rolf> | ||||||
| Component: | NetworkManager-openvpn | Assignee: | Lubomir Rintel <lkundrak> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 22 | CC: | choeger, dcbw, erik-fedora, huzaifas, psimerda, steve, thaller | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | NetworkManager-openvpn-1.2.4-1.fc24 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-07-10 05:55:01 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: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 1038127 [details]
environment passed during initial connection
Created attachment 1038129 [details]
environment passed during connection restart
Not the lack of routing information in the environment passed during restart. looks like the lack of information results in no routes at all.
Upstream issue: https://bugzilla.gnome.org/show_bug.cgi?id=750873 This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. NetworkManager-openvpn-1.2.4-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c719a6115b for this bug to be fixed, we also need an update of NetworkManager package... (todo) NetworkManager-openvpn-1.2.4-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c719a6115b NetworkManager-openvpn-1.2.4-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Apparently since upgrading to Fedora 22 an openvpn connection restart (resulting from an openvpn server restart) results in lost (pushed) routes, but an otherwise succesful connection Version-Release number of selected component (if applicable): NetworkManager-openvpn-1.0.2-2.fc22.x86_64 openvpn-2.3.6-1.fc22.x86_64 How reproducible: 100% Steps to Reproduce: 1. create a succesful VPN connection 2. restart the VPN server daemon 3. notice a restart of the connection 4. notice missing routes Actual results: connection without pushed routes Expected results: Functional connection based on all pushed routes Additional info: A workaround is this: [root@home07 ~]# cd /usr/libexec/ [root@home07 libexec]# ls -l nm-openvpn-service-openvpn-helper* lrwxrwxrwx. 1 root root 38 Jun 12 19:24 nm-openvpn-service-openvpn-helper -> nm-openvpn-service-openvpn-helper.wrap -rwxr-xr-x. 1 root root 24264 May 28 11:34 nm-openvpn-service-openvpn-helper.orig -rwxr-xr-x. 1 root root 171 Jun 12 19:42 nm-openvpn-service-openvpn-helper.wrap [root@home07 libexec]# cat nm-openvpn-service-openvpn-helper.wrap #!/bin/bash ( echo $0 echo "$@" env ) > /tmp/`date +%s`.dump eval [ "\${$#}" == "restart" ] && exit 0 exec `dirname $0`/nm-openvpn-service-openvpn-helper.orig "$@" [root@home07 libexec]#