Bug 473992 - WireGuard connection fails to disconnect if "!" is in the name
Summary: WireGuard connection fails to disconnect if "!" is in the name
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (other bugs)
Version First Reported In: 5.27.7
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-31 14:09 UTC by Alessandro Astone
Modified: 2025-08-07 16:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Astone 2023-08-31 14:09:16 UTC
SUMMARY
WireGuard connection fails to disconnect if "!" is in the name


STEPS TO REPRODUCE
1. Rename a WireGuard connection to include "!" in the name
2. Connect, verify that it works
3. Disconnect

OBSERVED RESULT
It does not disconnect

EXPECTED RESULT
It disconnects

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Fedora 38 KDE
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Comment 1 Alessandro Astone 2023-09-01 09:49:07 UTC
From DBus org.freedesktop.NetworkManager i gather that the name actually gets changed to replace "!" with "_".

Invoking org.freedesktop.NetworkManager.Device::Disconnect on the connection works, but after that plasma-nm fails to reconnect to it with "Failed to find a compatible device for this connection". This does not happen if the connection name does not include "!"
Comment 2 Ben Cooksley 2024-12-23 18:23:48 UTC
Bulk transfer as requested in T17796