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.
Bug 1786680 - Anaconda - Limit maximum UID is 4,294,967,294
Summary: Anaconda - Limit maximum UID is 4,294,967,294
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: anaconda
Version: 8.1
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: 8.0
Assignee: Vladimír Slávik
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-27 06:49 UTC by Trung Hieu
Modified: 2021-05-18 15:47 UTC (History)
6 users (show)

Fixed In Version: anaconda-33.16.4.2-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 15:47:06 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
max uid 4,294,967,295 errors (47.73 KB, image/png)
2019-12-27 06:49 UTC, Trung Hieu
no flags Details

Description Trung Hieu 2019-12-27 06:49:11 UTC
Created attachment 1647999 [details]
max uid 4,294,967,295 errors

Description of problem:
When we create user and specify uid, although anaconda restrict maximum UID is 4,294,967,295 but it's still encounter errors

How reproducible:
Limit max UID is 4,294,967,294

Steps to Reproduce:
Modify code in
https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/core/users.py

Thank you!

Comment 1 Trung Hieu 2019-12-30 08:48:06 UTC
Additional info

Same as RHEL 8, RHEL 7.7 anaconda is automatically decrease max UID to 4,294,967,295

It's not encounter errors but it's not create user.

UID 4,294,967,294 is ok for create user

Comment 3 Jan Stodola 2020-10-01 19:46:20 UTC
BTW, the same problem needs to be fixed for GID.

Comment 4 Vladimír Slávik 2020-10-06 19:00:20 UTC
Note to self: There is something else besides the reported issue. Actual user creation happens in a module, and the UIDs/GIDs come from GUI via D-Bus... as signed 32-bit int... so capped at half the available range.

Comment 5 Vladimír Slávik 2020-10-07 13:26:25 UTC
Fix candidate PR: https://github.com/rhinstaller/anaconda/pull/2906

Comment 9 Marek Havrila 2020-11-25 12:35:22 UTC
Pre-verified with anaconda-33.16.4.2-1.el8.x86_64.

Comment 15 errata-xmlrpc 2021-05-18 15:47:06 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (anaconda bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:1844


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