Skip to content

'User 'nm-openvpn' not found, check NM_OPENVPN_USER.' on Nixos 15.09 #10689

@Mayeu

Description

@Mayeu

Hitting a bug this morning with the network manager openvpn plugin (nixos.networkmanager_openvpn):

Oct 29 08:36:29 azathoth NetworkManager[11881]: (nm-openvpn-service:20017): nm-openvpn-WARNING **: (nm-openvpn-service.c:1269):nm_openvpn_start_openvpn_binary: runtime check failed: (priv->mgt_path == NULL)
Oct 29 08:36:29 azathoth NetworkManager[11881]: <warn>  VPN connection 'MyVPN' failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'.
Oct 29 08:36:29 azathoth NetworkManager[11881]: <warn>  error disconnecting VPN: Could not process the request because no VPN connection was active.

I found this related bug in the Archlinux bug tracker: https://bugs.archlinux.org/task/46124

Adding the missing group and user manually with groupadd and useradd fixed the issue.

Metadata

Metadata

Assignees

Labels

6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions