NetworkManager-openvpn defines the same user nm-openvpn via installing two files in sysusers.d

My “google foo” has not been with me on this. I’ve seen this warning for the last few weeks, and now that I’ve dived into it, I figured others would have seen it too - but I cannot find it. So perhaps I’m over-interpreting this (see below).

When I do a “dnf upgrade” I get the following error(s) :

>>> Finished %triggerin scriptlet: systemd-0:258.3-2.fc43.x86_64                                                                                     
>>> Scriptlet output:                                                                                                                                
>>> /usr/lib/sysusers.d/nm-openvpn-sysusers.conf:1: Conflict with earlier configuration for user 'nm-openvpn' in /usr/lib/sysusers.d/networkmanager-o

Two files in /usr/lib/sysusers.d define the nm-openvpn user:

# grep nm-openvpn /usr/lib/sysusers.d/*
/usr/lib/sysusers.d/networkmanager-openvpn.conf:u nm-openvpn - 'Default user for running openvpn spawned by NetworkManager' - -
/usr/lib/sysusers.d/nm-openvpn-sysusers.conf:u! nm-openvpn - "NetworkManager OpenVPN" /var/lib/openvpn/chroot

Both files are created by NetworkManager-openvpn

# rpm -ql NetworkManager-openvpn | grep sysusers
/usr/lib/sysusers.d/networkmanager-openvpn.conf
/usr/lib/sysusers.d/nm-openvpn-sysusers.conf

I post here because I think there may be an issue with this dupilcate as the nm-openvpn-sysusers includes a reference to chroot (/var/lib/openvpn/chroot) and the other does not. So wouldn’t it be random which definition is used, and hence the warning during the upgrade?

2 Likes

This sounds like bug and the best place to bring it to developers attentions is the Fedora bug tracker How to file a bug :: Fedora Docs

It is likely that someone else has reported this. You could search the bug database and see if you can find an existing bug.

1 Like

For anyone else who lands here, after encountering this problem.. the relevant issue link seems to be:

5 Likes