https://bugs.kde.org/show_bug.cgi?id=479020
Bug ID: 479020 Summary: Attempting to import a wireguard configuration with an invalid name leads to a misleading error message Classification: Applications Product: systemsettings Version: git-stable-Plasma/5.27 Platform: Arch Linux OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: kcm_networkmanagement Assignee: plasma-b...@kde.org Reporter: andr...@ohok.org CC: jgrul...@redhat.com Target Milestone: --- SUMMARY NetworkManager requires that when importing a .conf file with a wireguard config that it contains the name of the interface be included in the filename. In the Linux kernel, interface names can only be up to 16 bytes in length. Attempting to import a longer filename with nmcli yields the following error message: Error: failed to import 'sadadsadasdasdasdad.conf': The name of the WireGuard config must be a valid interface name followed by ".conf". Doing the same with KDE Plasma NetworkManager integration in system settings ("Import VPN connection") yields: "Failed to import VPN connection: NetworkManager is missing support for OpenVPN" which makes no sense. STEPS TO REPRODUCE 1. Use import VPN connection to import a valid wireguard .conf file, but with a name that is longer than 16 bytes. OBSERVED RESULT "Failed to import VPN connection: NetworkManager is missing support for OpenVPN" EXPECTED RESULT A correct and helpful error message SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.113.0 Qt Version: 5.15.11 ADDITIONAL INFORMATION Happy holidays! -- You are receiving this mail because: You are watching all bug changes.