Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#59326 - [networkmanager] 1.12.0-1 Opening VPN connections with nm-applet fails

Attached to Project: Arch Linux
Opened by David Mehren (davebloggt) - Friday, 13 July 2018, 18:52 GMT
Last edited by Jan Steffens (heftig) - Wednesday, 25 July 2018, 20:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Steffens (heftig)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 25
Private No


When I try to connect to a OpenVPN or IPSec VPN using nm-applet it fails with "Cannot specify device when activating VPN"

Additional info:
* Networkmanager version: 1.12.0-1

This has been reported in the Debian bugtracker ( and fixed with

I'm not sure what your policy is, but it might be a sensible idea to include the fix in the arch package?
This task depends upon

Closed by  Jan Steffens (heftig)
Wednesday, 25 July 2018, 20:34 GMT
Reason for closing:  Fixed
Additional comments about closing:  networkmanager 1.12.2-1
Comment by Fred (I_am_normal) - Friday, 13 July 2018, 22:16 GMT
Same happening here, as well.
Current kernel v. linux-4.17.5-1
If relevant, also using:

Downgrade to networkmanager-1.10.8-1 has fixed it for now.
Comment by Adis Nezirović (adis) - Saturday, 14 July 2018, 15:28 GMT
Same error here, up-to-date Arch system.

My current workaround is to start VPN connection manually:

nmcli connection up "VPN conn name"

Comment by BRUNO GUALDA (bgualda) - Saturday, 14 July 2018, 17:00 GMT
The same error for me, my Arch are up-to-date.

Product versions:

~ ❯❯❯ openvpn --version ✘ 1
OpenVPN 2.4.6 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 24 2018
library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
Originally developed by James Yonan
Copyright (C) 2002-2018 OpenVPN Inc <>
Compile time defines: enable_async_push=no enable_comp_stub=no enable_crypto=yes enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=yes enable_fragment=yes enable_iproute2=yes enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_management=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=yes enable_plugin_down_root=yes enable_plugins=yes enable_port_share=yes enable_selinux=no enable_server=yes enable_shared=yes enable_shared_with_static_runtimes=no enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=yes enable_werror=no enable_win32_dll=yes enable_x509_alt_username=yes with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_sysroot=no

~ ❯❯❯ pacman -Qi networkmanager-openvpn ✘ 130
Name : networkmanager-openvpn
Version : 1.8.4-1
Description : NetworkManager VPN plugin for OpenVPN
Architecture : x86_64
Licenses : GPL
Groups : None
Provides : None
Depends On : libnm libsecret openvpn
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 1336.00 KiB
Packager : Jan Alexander Steffens (heftig) <>
Build Date : Mon 28 May 2018 03:19:46 PM -03
Install Date : Sat 14 Jul 2018 01:38:02 PM -03
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

~ ❯❯❯ pacman -Qi networkmanager
Name : networkmanager
Version : 1.12.0-1
Description : Network connection manager and user applications
Architecture : x86_64
Licenses : GPL2 LGPL2.1
Groups : gnome
Provides : None
Depends On : libnm-glib iproute2 polkit wpa_supplicant libmm-glib libnewt libndp libteam curl bluez-libs libpsl
Optional Deps : dnsmasq: connection sharing
bluez: Bluetooth support
ppp: dialup connection support [installed]
modemmanager: cellular network support
iwd: wpa_supplicant alternative
Required By : network-manager-applet
Optional For : firefox firefox-developer-edition libproxy
Conflicts With : None
Replaces : None
Installed Size : 11.82 MiB
Packager : Jan Alexander Steffens (heftig) <>
Build Date : Fri 29 Jun 2018 05:19:43 PM -03
Install Date : Sat 14 Jul 2018 01:30:44 PM -03
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

Kernel version
~ ❯❯❯ uname -r ✘ 1

Thanks Adis for your workaround !!
Comment by Johan (fiskhest) - Saturday, 14 July 2018, 23:39 GMT
FWIW, I am getting the same problem while using a cisco-compatible VPN (vpnc) through the nm-applet. I know this configuration worked on an old fedora 26 installation. Manually running 'sudo openconnect <host>' works.

networkmanager 1.12.0-1
networkmanager-vpnc 1.2.4-3
networkmanager-openconnect 1.2.4-3
openconnect 1:7.08-1
Comment by Arthur (Arffeh) - Monday, 16 July 2018, 09:23 GMT
Same issue on an up-to-date arch install, and downgrading to:


and rebooting immediately corrected the issue.
Comment by Didier (dcro95) - Monday, 16 July 2018, 16:03 GMT
Same issue after updating :

When I try to connect OpenVPN, it fails with : "Cannot specify device when activating VPN"

Actual versions :
networkmanager 1.12.0-1
networkmanager-openvpn 1.8.4-1

Problem solved after downgrading to networkmanager 1.10.10-1.

Comment by Rian McGuire (rmcgu) - Wednesday, 25 July 2018, 19:25 GMT
I just upgraded to networkmanager 1.12.2-1 and the problem seems to be resolved.
Comment by Fred (I_am_normal) - Wednesday, 25 July 2018, 19:45 GMT
In addendum to my comment above:
No longer encountering this bug in latest upgrade to `networkmanager 1.12.2-1`. VPN connections are working normally again for me:)
Comment by Johan (fiskhest) - Wednesday, 25 July 2018, 20:33 GMT
Confirm that the bug has been resolved in networkmanager 1.12-2-1