Bug 1370097 - No "VPN" tab when editing connection
Summary: No "VPN" tab when editing connection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: network-manager-applet
Version: 24
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-25 10:23 UTC by Marius Pfeffer
Modified: 2018-12-27 19:03 UTC (History)
10 users (show)

Fixed In Version: network-manager-applet-1.2.4-2.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-15 22:53:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
image of the missing VPN tab when editing a OpenVPN connection (31.59 KB, image/png)
2016-08-25 10:23 UTC, Marius Pfeffer
no flags Details

Description Marius Pfeffer 2016-08-25 10:23:03 UTC
Created attachment 1193952 [details]
image of the missing VPN tab when editing a OpenVPN connection

Description of problem:
After installing NetworkManager-openvpn no VPN tab is visible when trying to add  an OpenVPN connection.


Version-Release number of selected component (if applicable):
NetworkManager 1.2.4 2.fc24
NetworkManager-openvpn 1.2.4 2.fc24


How reproducible:
Every time on my F24 Xfce install, including erasing and reinstalling the NetworkManager-openvpn package


Actual results:
No "VPN" tab, only "General", "IPv4 Settings" and "IPv6 Settings" show up when adding an OpenVPN connection

Expected results:
"VPN" tab showing up so I can add my username/password, CA...


Additional info:
see attachment

Comment 1 Marius Pfeffer 2016-08-25 10:34:52 UTC
will work if the package: NetworkManager-openvpn-gnome is installed

Is it possible to add this package as dependency to NetworkManager-openvpn?

Comment 2 Thomas Haller 2016-08-25 10:58:04 UTC
(In reply to Marius Pfeffer from comment #1)
> will work if the package: NetworkManager-openvpn-gnome is installed
> 
> Is it possible to add this package as dependency to NetworkManager-openvpn?

no, because NetworkManager-openvpn-gnome has a dependency on GTK, while NetworkManager-openvpn package has not. That is the reason for the split of the package.


I am surprised that you can even edit the connection. That seems wrong and doesn't happen for me. After I remove NetworkManager-openvpn-gnome package (only leaving the NM-openvpn package), trying to edit a openvpn connection with nm-c-e results in a failure:

  Could not load editor VPN plugin for 'org.freedesktop.NetworkManager.openvpn' 
  (missing plugin file "/usr/lib64/NetworkManager/libnm-vpn-plugin-openvpn-editor.so").

Comment 3 Michael Catanzaro 2016-08-25 22:10:53 UTC
NetworkManager-openvpn-gnome is installed by default in Workstation, as well as in the Cinnamon and MATE spins. You might want to report this to the Xfce spin maintainers.

Comment 4 Thomas Haller 2016-08-26 09:47:12 UTC
(In reply to Michael Catanzaro from comment #3)
> NetworkManager-openvpn-gnome is installed by default in Workstation, as well
> as in the Cinnamon and MATE spins. You might want to report this to the Xfce
> spin maintainers.

an interesting question is, why you see a crippled dialog without VPN tab. It should show the error message from comment 2 caused by the missing plugin.

Comment 5 Marius Pfeffer 2016-08-26 14:20:43 UTC
(In reply to Thomas Haller from comment #4)
> an interesting question is, why you see a crippled dialog without VPN tab.
> It should show the error message from comment 2 caused by the missing plugin.

I've tried removing NetworkManager-openvpn-gnome and same result (no VPN tab, no error message) appeared again. Seems to be reproducible.

Comment 6 Thomas Haller 2016-08-26 14:41:29 UTC
can you copy&paste the messages you see when reproducing this with nm-connection-editor started in a terminal? Thanks

Comment 7 Marius Pfeffer 2016-08-26 14:46:09 UTC
With NetworkManager-openvpn-gnome uninstalled:

$ nm-connection-editor
** Message: vpn: (l2tp,/usr/lib/NetworkManager/VPN/nm-l2tp-service.name) file "/usr/lib64/NetworkManager/libnm-vpn-plugin-l2tp.so" not found. Did you install the client package?
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.


Now I'm pressing Add, select OpenVPN and Create. Cripled (VPN missing) window and separate XFCE Policy Agent pops up.


** Message: Cannot save connection due to error: Editor initializing...

** (nm-connection-editor:18250): WARNING **: Could not load VPN user interface for service 'org.freedesktop.NetworkManager.openvpn': missing plugin file "/usr/lib64/NetworkManager/libnm-vpn-plugin-openvpn-editor.so".

(nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_get_parent: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-connection-editor:18250): GLib-GObject-CRITICAL **: g_object_set_data: assertion 'G_IS_OBJECT (object)' failed

(nm-connection-editor:18250): Gtk-CRITICAL **: gtk_notebook_insert_page: assertion 'GTK_IS_WIDGET (child)' failed

(nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-connection-editor:18250): libnm-CRITICAL **: nm_vpn_editor_update_connection: assertion 'NM_IS_VPN_EDITOR (editor)' failed
** Message: Cannot save connection due to error: Invalid setting VPN: unspecified error

(nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-connection-editor:18250): libnm-CRITICAL **: nm_vpn_editor_update_connection: assertion 'NM_IS_VPN_EDITOR (editor)' failed

(nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-connection-editor:18250): libnm-CRITICAL **: nm_vpn_editor_update_connection: assertion 'NM_IS_VPN_EDITOR (editor)' failed

(nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

(nm-connection-editor:18250): libnm-CRITICAL **: nm_vpn_editor_update_connection: assertion 'NM_IS_VPN_EDITOR (editor)' failed

(nm-connection-editor:18250): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed

Comment 8 Thomas Haller 2016-09-12 20:43:50 UTC
it's really a bug in nm-connection-editor.

Fixed upstream by backport https://git.gnome.org/browse/network-manager-applet/commit/?id=7179976982f0280bd7d493ebb43c79cdaf0f30ff

Upstream release 1.4.0 is already fixed, and so is Fedora 25.

Comment 9 Fedora Update System 2016-09-12 21:09:20 UTC
network-manager-applet-1.2.4-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-cd5677124a

Comment 10 Fedora Update System 2016-09-14 02:52:33 UTC
network-manager-applet-1.2.4-2.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-cd5677124a

Comment 11 Fedora Update System 2016-09-15 22:52:55 UTC
network-manager-applet-1.2.4-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Artem S. Tashkinov 2018-12-27 13:33:23 UTC
This is still reproducible in Fedora 29.

NetworkManager-openvpn doesn't have NetworkManager-openvpn-gnome as a dependency (not even a weak one though arguably it's a hard dependency).

Comment 13 Thomas Haller 2018-12-27 19:03:04 UTC
> This is still reproducible in Fedora 29.

Hi,

This bug is closed for a long time.

If you have symptoms that look similar, they may have entirely different cause.

Even if the cause happens to be the same, we need more information than simply "does not work", because the original issues are (presumably) fixed. If you don't provide new information, it's unclear how to proceed.

TL;DR: please open a new bug and provide fresh informations about the issue there.

Thank you!!


> NetworkManager-openvpn doesn't have NetworkManager-openvpn-gnome as a
> dependency (not even a weak one though arguably it's a hard dependency).

NetworkManager-openvpn-gnome depends on NetworkManager-openvpn (and not the other way around). That is intended and looks correct to me.


Note You need to log in before you can comment on or make changes to this bug.