Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Please fix user/group creation in your spec file[1]. There were problems when
(UID != GID) && (UID<200) [2]. For example:
tryitd:x:194:482:TryIt:/:/sbin/nologin
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
Hm, isn't the consensus in bug #593683 that useradd should be fixed to preserve the old behavior?
I agree that it wouldn't be a bad idea to modify the mysql spec file to make the group ID be specified explicitly, but I hardly think this is a blocker.
BTW, are you satisfied with the way the postgresql spec file does the same thing?
Yes the consensus was to fix useradd. Nevertheless, I recommend fixing spec files too.
Since useradd is already fixed this doesn't need to be blocker.
I think postgresql does user/group creation correctly.
Comment 3Fedora Update System
2010-05-24 23:31:51 UTC
Comment 7Fedora Update System
2010-06-07 22:28:00 UTC
mysql-5.1.47-1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
Comment 8Fedora Update System
2010-06-07 22:30:32 UTC
mysql-5.1.47-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
Comment 9Fedora Update System
2010-06-07 22:31:57 UTC
mysql-5.1.47-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
Comment 12releng-rhel@redhat.com
2010-11-10 21:11:28 UTC
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.
Description of problem: Please fix user/group creation in your spec file[1]. There were problems when (UID != GID) && (UID<200) [2]. For example: tryitd:x:194:482:TryIt:/:/sbin/nologin 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