~# systemctl status Networkmanager Sep 05 16:54:05 helix NetworkManager[468]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 5166 Sep 05 16:54:05 helix NetworkManager[468]: <info> VPN service 'openvpn' appeared; activating connections Sep 05 16:54:05 helix NetworkManager[468]: <info> VPN plugin state changed: starting (3) Sep 05 16:54:05 helix NetworkManager[468]: <info> VPN connection 'Foobar' (Connect) reply received. Sep 05 16:54:05 helix NetworkManager[468]: <warn> VPN connection 'Foobar' failed to connect: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'. Sep 05 16:54:05 helix NetworkManager[468]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active. Sep 05 16:54:25 helix NetworkManager[468]: <info> VPN service 'openvpn' disappeared 1.0.2 works fine Various reports on inet as well https://bbs.archlinux.org/viewtopic.php?id=201647 https://bugs.archlinux.org/task/46124
Solution posted on archlinux works fine groupadd -r nm-openvpn useradd -r -g nm-openvpn -d / -s /sbin/nologin -c "Default user for running openvpn spawned by NetworkManager" nm-openvpn
Well, i guess that's a bug in the networkmanager-openvpn package instead of networkmanager itself.
Does running in ebuild: enewgroup nm-openvpn enewuser -1 nm-openvpn nm-openvpn or do we need to use other options for the helpers? (if you find the invocations that work for you, feel dree to go ahead and commit with a new revision) Thanks
by the looks of the eclass, seems like: enewuser nm-openvpn -1 -1 -1 nm-openvpn would probably work
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17617c12dea0f3287ee2a8e18725a699ab016e02 Thanks a lot