Bug 1265829
Summary: | OpenVPN fails to connect after NetworkManager upgrade. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stefan Seefeld <stefan> |
Component: | NetworkManager | Assignee: | Lubomir Rintel <lkundrak> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | alexus_m, dcbw, extras-qa, joe, lkundrak, pmoravec, psimerda, rkhan, scorpy_sk, ww12z |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-04-20 20:23:06 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: |
Description
Stefan Seefeld
2015-09-23 21:18:10 UTC
Using `journalctl -f` I see this line when the error message pops up: Sep 23 17:47:56 quasimodo NetworkManager[8841]: <info> VPN service 'openconnect' disappeared Any idea what might cause this, and how to debug this further ? Hi All! I have the same problem with NetworkManager-openconnect: Start connection: NetworkManager[1097]: <info> Starting VPN service 'openconnect'... NetworkManager[1097]: <info> VPN service 'openconnect' started (org.freedesktop.NetworkManager.openconnect), PID 24283 NetworkManager[1097]: <info> VPN service 'openconnect' appeared; activating connections Directly after credentials have been provided: NetworkManager[1097]: <info> VPN service 'openconnect' disappeared NetworkManager[1097]: <warn> error disconnecting VPN: The name org.freedesktop.NetworkManager.openconnect was not provided by any .service files Unfortunately the new NetworkManager-openconnect plugin compatible with NetworkManager v1.0.6 absent even in fedora22-updates-testing repository up to now, while some other VPN plugins already there during some time (e.g. NetworkManager-openswan, NetworkManager-openvpn, NetworkManager-vpnc) and hopefully will be pushed to fedora22-updates shortly. Hi All! In my case with NetworkManager-openconnect I found that it looks like there is a relatively short timeout (about 15 seconds) started after "switch on" the VPN via NM applet (homing in top right screen corner) and expired during preparation of credentials (generation of one time password). If I'm ready with one time password before click on VPN connection and enter all authentication date rapidly, then it will connect with success. I get (no metion of openconnect). okt 27 16:17:46 zork NetworkManager[1230]: <info> Starting VPN service 'openvpn'... okt 27 16:17:46 zork NetworkManager[1230]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 26723 okt 27 16:17:46 zork NetworkManager[1230]: <info> VPN service 'openvpn' appeared; activating connections okt 27 16:17:49 zork audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' okt 27 16:17:50 zork NetworkManager[1230]: <info> VPN plugin state changed: starting (3) okt 27 16:17:50 zork NetworkManager[1230]: <info> VPN service 'openvpn' disappeared okt 27 16:17:50 zork NetworkManager[1230]: <warn> error disconnecting VPN: The name org.freedesktop.NetworkManager.openvpn was not provided by any .service files It the problem is a short timeout, that has been fixed upstream: http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=b1512221bc29f24b86d464dc5117439c366fd299 (In reply to Jirka Klimes from comment #5) > It the problem is a short timeout, that has been fixed upstream: > http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/ > ?id=b1512221bc29f24b86d464dc5117439c366fd299 Not sure if just the timeout is the cause. If the timeout was 20 seconds and #c4 shows openvpn disappeared within 4 seconds..? (confirmed it on my also affected notebook, I typed password within 20s but same output) (In reply to Pavel Moravec from comment #6) > (In reply to Jirka Klimes from comment #5) > > It the problem is a short timeout, that has been fixed upstream: > > http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/ > > ?id=b1512221bc29f24b86d464dc5117439c366fd299 > > Not sure if just the timeout is the cause. If the timeout was 20 seconds and > #c4 shows openvpn disappeared within 4 seconds..? > > (confirmed it on my also affected notebook, I typed password within 20s but > same output) In my case, this helped: - delete from /etc/xdg/autostart/nm-applet.desktop the line: NotShowIn=KDE;GNOME; - restart NetworkManager service (In reply to Pavel Moravec from comment #7) > (In reply to Pavel Moravec from comment #6) > > (In reply to Jirka Klimes from comment #5) > > > It the problem is a short timeout, that has been fixed upstream: > > > http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/ > > > ?id=b1512221bc29f24b86d464dc5117439c366fd299 > > > > Not sure if just the timeout is the cause. If the timeout was 20 seconds and > > #c4 shows openvpn disappeared within 4 seconds..? > > > > (confirmed it on my also affected notebook, I typed password within 20s but > > same output) > > In my case, this helped: > > - delete from /etc/xdg/autostart/nm-applet.desktop the line: > NotShowIn=KDE;GNOME; > > - restart NetworkManager service This worked for me as well. Thanks, buddy. Can we close this BZ now? No objections from me; I no longer observe the issue. I don't observe the issue for long time already. Closed as per comment 11 and 10 above The issue reappears after applying Pavel Moravec's fix. I have commented out that line in /etc/xdg/autostart/nm-applet.desktop and I always have to restart the NetworkManager service. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |