Bug 594405 - wrong users and groups creation in spec file
wrong users and groups creation in spec file
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: avahi (Show other bugs)
All Linux
low Severity high
: rc
: ---
Assigned To: Lennart Poettering
Depends On:
Blocks: 593683
  Show dependency treegraph
Reported: 2010-05-20 11:04 EDT by Peter Vrabec
Modified: 2010-11-10 14:56 EST (History)
3 users (show)

See Also:
Fixed In Version: avahi-0.6.25-7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-11-10 14:56:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Peter Vrabec 2010-05-20 11:04:45 EDT
Description of problem:
Please fix user/group creation in your spec file[1]. There were problems when
(UID != GID) && (UID<200) [2]. 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.

[1] https://fedoraproject.org/wiki/Packaging:UsersAndGroups 
[2] https://bugzilla.redhat.com/show_bug.cgi?id=593683
Comment 1 Matthias Clasen 2010-05-28 09:14:17 EDT
Looks like an easy fix. Can you take care of this, Lennart ?
Comment 2 Matthias Clasen 2010-06-09 11:11:08 EDT
Any update on this, Lennart ?
Comment 5 releng-rhel@redhat.com 2010-11-10 14:56:08 EST
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.

Note You need to log in before you can comment on or make changes to this bug.