Description of problem:
Please fix user/group creation in your spec file. There were problems when
(UID != GID) && (UID<200) . For example:
Problem was caused by change/fix of shadow-utis behaviour. useradd does not
create group with same GID as user's UID for IDs < 200 (static/reserved) unless
it's done this way:
getent group qemu >/dev/null || groupadd -g 107 -r qemu
getent passwd qemu >/dev/null || \
useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
-c "qemu user" qemu
This issue should be fixed as soon as possible. Note, it can't be resolved by
any update once we have RHEL6 GA. Please fix it in Fedora too. thnx.
Why is this an nfs-utils issue?
I see that rpcuser with UID 29 is created in nfs-utils.spec
/usr/sbin/useradd -l -c "RPC Service User" -r \
-s /sbin/nologin -u 29 -d /var/lib/nfs rpcuser 2>/dev/null || :
according to /usr/share/doc/setup-*/uidgid, there should be also group with same GID created as well. Unfortunately the group is not being created according the packaging guidance.
The goal is to create rpcuser(user/group) in same way as nfsnobody.
verified on i386 and x86_64 without problem:
# uname -a
Linux dell-pem605-01.rhts.eng.bos.redhat.com 2.6.32-54.el6.x86_64 #1 SMP Wed Jul 28 00:06:54 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@dell-pem605-01 ~]# rpm -qa|grep nfs-utils
# id rpcuser
uid=29(rpcuser) gid=29(rpcuser) groups=29(rpcuser)
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.