Description of problem: Pre scriptlet for nfs-utils adds gid/uid for rpcuser and nfsnobody. When adding nfsnobody either groupmod/usermod or groupadd/useradd are used depending on whether nfsnobody already exists in group/passwd. When adding rpcuser useradd/groupadd is used, which will fail if rpcuser already exists with different uid/guid. Version-Release number of selected component (if applicable): nfs-utils-1.3.0-2.4.fc20.x86_64 How reproducible: At every yum install for several versions back Steps to Reproduce: 1. Change uid and/or gid of rpcuser in /etc/passwd and/or /etc/group 2. yum isntall some nfs-utils.rpm Actual results: Pre scriplet complains it can't set up rcpsuser and that it will use root instead, thus /var/lib/nfs/statd may end up with wrong uid/guid Expected results: Clean install, proper permisions on /var/lib/nfs/statd Additional info: Simply replicating what is done for nfsnobody should suffice, either by copy and paste/edit, or by creating a common check/add/mod function.
nfs-utils-1.3.1-4.0.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/FEDORA-2014-15315/nfs-utils-1.3.1-4.0.fc21
Package nfs-utils-1.3.1-4.0.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing nfs-utils-1.3.1-4.0.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-15315/nfs-utils-1.3.1-4.0.fc21 then log in and leave karma (feedback).
Package nfs-utils-1.3.1-4.1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing nfs-utils-1.3.1-4.1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-15315/nfs-utils-1.3.1-4.1.fc21 then log in and leave karma (feedback).
nfs-utils-1.3.1-4.1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
The error either still shows up or shows up again in nfs-utils-1.3.1-5.0.fc21.
After I filed this ticket I fixed /etc/{passwd,group} manually, thus I didn't notice whether it was fixed or not. Just downloaded the source for nfs-utils-1.3.1-6.0.fc21 (on updates testing) and it seems Steve copied the section that creates/fixes the user nfsnobody to create the user rpcuser on /etc/passwd, but didn't copy the sections that creates/fixes the group rpcuser...
I am also seeing this. Any solution on the horizon for this?
nfs-utils-1.3.1-6.1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/nfs-utils-1.3.1-6.1.fc21
Latest patch fixes rpcuser's entry in /etc/group properly. Probably close this bz again.
nfs-utils-1.3.1-6.1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.