Bugzilla – Bug 944769
NetworkManager-strongswan-gnome / NM Strongswan Applet not working
Last modified: 2015-09-30 13:49:15 UTC
Created attachment 646456 [details] nm-strongswan-dialog.ui.broken.patch Hello this applet is not working with existing packages: NetworkManager-strongswan-1.3.1-4.2.x86_64 NetworkManager-strongswan-gnome-1.3.1-4.2.x86_64 NM applet window is broken and displays only "identity" and "ipv4" tabs. you cant configure/see main configuration tab regards to VPN server IP, certificates and so on. this issue is also reported on various other places like: [1]: network-manager-strongswan: bug in config file means strongswan unrecognised https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=773764 [2]: [regression] network-manager-strongswan configuration GUI broken https://bugs.launchpad.net/ubuntu/+source/network-manager-strongswan/+bug/1448879 The first one provides fix itself - issue is exactly same within OpenSUSE 13.2 version as the default value for "properties=" line is just: "properties=libnm-strongswan-properties" without leading full path for strongswan NM library "/usr/lib64/NetworkManager/libnm-strongswan-properties" (for x86_64 arch) The second link what I found is report about broken GUI applet reported by someone. I just provided there an patch how to fix this issue. Attaching it here as well. With this patch strongswan NM applet is fully usable.
Thank you very much for reporting this detailed bug including all the solutions to it! I am just preparing a package for testing, that should be ready shortly. I'll let you know where from you can grab it for a test.
Test packages are available at http://download.opensuse.org/repositories/home:/dimstar:/branches:/GNOME:/Factory/openSUSE_13.2/ (for openSUSE 13.2, as this bug is reported against). Please test those packages and let me know if all is fine. If all is good, I can initiate an online-update process
Hi Dominique thanks for fast reaction. I've just checked your packages and found this in "/etc/NetworkManager/VPN/nm-strongswan-service.name": properties=@LIDIR@/NetworkManager/libnm-strongswan-properties ..instead of absolute path. "/usr/share/gnome-vpn-properties/strongswan/nm-strongswan-dialog.ui" changes seems OK.
Beh, I'm collecting stupidity points today. The patch was correct (minus one type), but the service.name was not handled by configure as I'd expected it (no idea why they do it the way they do in this case). so I extended the patch, and @LIBDIR@ (which was misspelled before) is now correctly replaced with /usr/lib64, resp /usr/lib on i586, thus pointing to the correct directory. Packages are just building again and will shortly be published at the same location. Please re-validate.
Now it is fine :-) Both files are adjusted correctly and UI dialog for Strongswan in NM is displayed correctly as well. Thank you again
Thank you very much for the quick test turn around.. I submitted the package for review to GNOME:Factory (the devel branch). Once it will be accepted there, it will be forwarded to: openSUSE:Factory (for an upcoming Tumbleweed Snapshot) openSUSE:Leap:42.1 (for the upcoming openSUSE Leap 42.1 release) openSUSE:13.2:Update (to publish the fix as an online update for openSUSE 13.2) (removing needinfo - all has been provided by Michal)
openSUSE-RU-2015:1582-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 944769 CVE References: Sources used: openSUSE 13.2 (src): NetworkManager-strongswan-1.3.1-2.6.1
Fix has been released as update to 13.2 and is checked in to Leap 42.1 and Tumbleweed.