[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
Thank you for taking the time to report this bug and helping to make Ubuntu better. There isn't really enough information here to know if there is a bug in openvpn itself, or in NetworManager. So I am marking this bug Incomplete for now for openvpn. If you can provide exact steps so that a developer can reproduce the original problem using only openvpn, then please add them to this bug and change the status back to New. ** Changed in: openvpn (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: network-manager (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
This is really a problematic Bug! I could isolate the Problem a little more ! The Error Line VPN service 'openvpn' disappeared Can be found in: network-manager-0.9.10.0/src/vpn-manager/nm-vpn-service.c The Problematic Code Part where it breaks the OpenVPN Service if (old_owner_good && !new_owner_good) { /* service went away */ priv->service_running = FALSE; nm_log_info (LOGD_VPN, "VPN service '%s' disappeared", priv->name); nm_vpn_service_stop_connections (service, FALSE, NM_VPN_CONNECTION_STATE_REASON_SERVICE_STOPPED); } can be found in the function _name_owner_changed Maybe somebody know how to fix this now ? static void _name_owner_changed (NMDBusManager *mgr, const char *name, const char *old, const char *new, gpointer user_data) { NMVPNService *service = NM_VPN_SERVICE (user_data); NMVPNServicePrivate *priv = NM_VPN_SERVICE_GET_PRIVATE (service); gboolean old_owner_good, new_owner_good, success; if (strcmp (name, priv->dbus_service)) return; /* Service changed, no need to wait for the timeout any longer */ if (priv->start_timeout) { g_source_remove (priv->start_timeout); priv->start_timeout = 0; } old_owner_good = (old && old[0]); new_owner_good = (new && new[0]); if (!old_owner_good && new_owner_good) { /* service appeared */ priv->service_running = TRUE; nm_log_info (LOGD_VPN, "VPN service '%s' appeared; activating connections", priv->name); /* Expect success because the VPN service has already appeared */ success = start_active_vpn (service, NULL); g_warn_if_fail (success); } else if (old_owner_good && !new_owner_good) { /* service went away */ priv->service_running = FALSE; nm_log_info (LOGD_VPN, "VPN service '%s' disappeared", priv->name); nm_vpn_service_stop_connections (service, FALSE, NM_VPN_CONNECTION_STATE_REASON_SERVICE_STOPPED); } } P.S. I had nm-applet Crashing allways when this Log Lines are showed Oct 18 07:51:13 dbus[899]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' Oct 18 07:51:13 systemd[1]: Starting Hostname Service... Oct 18 07:51:13 dbus[899]: [system] Successfully activated service 'org.freedesktop.hostname1' Oct 18 07:51:13 systemd[1]: Started Hostname Service. Oct 18 07:51:16 gnome-session[2345]: Nautilus-Share-Message: Called "net usershare info" but it failed: »net usershare« gab den Fehler 255 zurück: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Datei oder Verzeichnis nicht gefunden Oct 18 07:51:16 gnome-session[2345]: Please ask your system administrator to enable user sharing. There is something strange with usermanagement it looks like in ubuntu when using OpenVPN !!! ** Also affects: network-manager (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
Also seeing this same issue with Ubuntu 14.04 LTS on a Dell XPS 13 Developer's Edition. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
Sometimes when I boot my laptop and I try to connect to my openvpn gateway via the network manager, nothing happens after clicking my VPN connection from the list in the /var/log/syslog I can see: Jun 6 09:13:37 jan-laptop NetworkManager[969]: Starting VPN service 'openvpn'... Jun 6 09:13:37 jan-laptop NetworkManager[969]: VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 3502 Jun 6 09:13:37 jan-laptop NetworkManager[969]: VPN service 'openvpn' appeared; activating connections Jun 6 09:13:37 jan-laptop NetworkManager[969]: [1402038817.984254] [nm-vpn-connection.c:1374] get_secrets_cb(): Failed to request VPN secrets #2: (6) No agents were available for this request. Jun 6 09:13:37 jan-laptop NetworkManager[969]: Policy set 'My wifi network' (wlan0) as default for IPv4 routing and DNS. Jun 6 09:13:43 jan-laptop NetworkManager[969]: VPN service 'openvpn' disappeared Sometimes it works fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
I'm also seeing this in 14.04 LTS -- even after installing the fixes for all the other problems with nm-applet -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
I am having a similar problem on Ubuntu-14.04. However, at one point, I was able to connect to my vpn with 14.04. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
I'm seeing this on Ubuntu-14.04, btw. I don't see a more recent bug report so I'll continue to use this one unless asked to do otherwise. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
FYI, you can connect manually using "sudo vpnc" as described http://www.debuntu.org/how-to-connect-to-a-cisco-vpn-with-vpnc/ That works for me and if you have forgotten your connection info the Configure VPN panel is helpful. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
** Changed in: openvpn (Ubuntu) Status: New => Confirmed ** Tags added: regression-release ** Changed in: openvpn (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
** Package changed: network-manager (Ubuntu) => openvpn (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: openvpn (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
** Changed in: network-manager (Ubuntu) Status: Confirmed => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openvpn/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: network-manager (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 997927] Re: NM reports "VPN service 'openvpn' disappeared"
** Summary changed: - network manager fails on openvpn connections + NM reports "VPN service 'openvpn' disappeared" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/997927 Title: NM reports "VPN service 'openvpn' disappeared" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/997927/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs