Bug 27695 - NetworkManager Wireguard VPN fails when using Plasma with plasma-applet-nm
Summary: NetworkManager Wireguard VPN fails when using Plasma with plasma-applet-nm
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-30 21:12 CET by Muhammad Tailounie
Modified: 2021-07-29 22:51 CEST (History)
4 users (show)

See Also:
Source RPM: plasma-nm-5.15.4-1.2.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Muhammad Tailounie 2020-11-30 21:12:59 CET
After configuring a Wireguard connection in NetworkManager, the connection to the server cannot be established.

journalctl shows the following error:

NetworkManager[1114]: <info>  [1606766946.1263] audit: op="connection-activate" uuid="1f4be998-0a39-48f8-adff-a647a2e52229" name="Wireguard Test" pid=5049 uid=1000 result="fail" reason="The VPN service 'org.freedesktop.NetworkManager.wireguard' was not installed."
Comment 1 Aurelien Oudelet 2020-12-01 08:44:28 CET
Hi, thanks reporting this.

It seems there a missing dependency against Wireguard for NetworkManager.
Make sure all packages with recommends are installed:

Admitting you're running M7 x86_64 version from /core/updates:

- networkmanager-1.18.8-1.mga7.x86_64.rpm
- wireguard-tools-1.0.20200827-1.mga7.x86_64.rpm

Note that WireGuard has been enabled in NetworkManager since his 1.16 version, so this should runs well on M7.

CC: (none) => ouaurelien

Comment 2 Muhammad Tailounie 2020-12-01 10:25:20 CET
Hi;

I am actually running M7 x86_64 version.

dnf info networkmanager wireguard-tools
Última comprobación de caducidad de metadatos hecha hace 0:02:46, el mar 01 dic 2020 10:20:11 CET.
Paquetes instalados
Nombre       : networkmanager
Versión      : 1.18.8
Lanzamiento  : 1.mga7
Arquitectura : x86_64
Tamaño       : 14 M
Fuente       : networkmanager-1.18.8-1.mga7.src.rpm
Repositorio  : @System
Resumen      : Network connection manager and user applicationf
URL          : https://wiki.gnome.org/Projects/NetworkManager
Licencia     : GPLv2+
Descripción  : NetworkManager is a system service that manages network interfaces and
             : connections based on user or automatic configuration. It supports Ethernet,
             : Bridge, Bond, VLAN, Team, InfiniBand, Wi-Fi, mobile broadband (WWAN), PPPoE and
             : other devices, and supports a variety of different VPN services.

Nombre       : wireguard-tools
Versión      : 1.0.20200827
Lanzamiento  : 1.mga7
Arquitectura : x86_64
Tamaño       : 141 k
Fuente       : wireguard-tools-1.0.20200827-1.mga7.src.rpm
Repositorio  : @System
Resumen      : Fast, modern, secure VPN tunnel
URL          : https://www.wireguard.com/
Licencia     : GPLv2
Descripción  : WireGuard is a novel VPN that runs inside the Linux Kernel and uses
             : state-of-the-art cryptography (the "Noise" protocol). It aims to be
             : faster, simpler, leaner, and more useful than IPSec, while avoiding
             : the massive headache. It intends to be considerably more performant
             : than OpenVPN. WireGuard is designed as a general purpose VPN for
             : running on embedded interfaces and super computers alike, fit for
             : many different circumstances. It runs over UDP.
             : 
             : This package provides the wg binary for controling WireGuard.
Comment 3 Jani Välimaa 2020-12-01 16:52:33 CET
I can't find any references to "org.freedesktop.NetworkManager.wireguard" in networkmanager 1.18.8 source code.

Are you using Plasma as plasma-nm source code has references to "org.freedesktop.NetworkManager.wireguard"?

Source RPM: (none) => plasma-nm-5.15.4-1.2.mga7.src.rpm ?
Summary: NetowrkManager Wireguard VPN fails => NetworkManager Wireguard VPN fails
CC: (none) => jani.valimaa

Comment 4 Muhammad Tailounie 2020-12-01 21:27:54 CET
I am actually using plasma-applet-nm 5.15.4 as I am running Plasma desktop.
Jani Välimaa 2020-12-03 16:27:41 CET

Source RPM: plasma-nm-5.15.4-1.2.mga7.src.rpm ? => plasma-nm-5.15.4-1.2.mga7.src.rpm
Summary: NetworkManager Wireguard VPN fails => NetworkManager Wireguard VPN fails when using Plasma with plasma-applet-nm

Comment 5 Aurelien Oudelet 2020-12-07 11:13:00 CET
Thanks Jani.
Assigning to KDE Team and I added the committers in CC.

(Please set the status to 'assigned' if you are working on it)

CC: (none) => geiger.david68210, mageia
Assignee: bugsquad => kde

Comment 6 Aurelien Oudelet 2021-07-06 13:17:01 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 7 Muhammad Tailounie 2021-07-29 22:51:53 CEST
I have tested it in Mageia 8 and it works.

So issue solved :)

Status: NEW => RESOLVED
Resolution: (none) => FIXED


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