Created attachment 341183 [details]
Description of problem:
In the current RHEL4 UIDs and GIDs are supported in the range
between 0-4294967295 on 64bit archs. However, python's module grp
does not support the full range.
This can cause problems as for example nfs-utils create upon
installation an nfsnobody user account/group with the UID/GID
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. groupadd -g 4294967294 nfsnobody
2. python test_grp.py
Traceback (most recent call last):
File "test_grp.py", line 8, in ?
e2 = grp.getgrgid(e.gr_gid)
OverflowError: signed integer is greater than maximum
Looks like this was fixed upstream in:
(change from int to unsigned int)
Looks trivial to backport.
This was part of this wider fix:
Another relevant 64-bit fix from that commit appears to be:
changing from using "I"/unsigned int extraction to PyNumber_Int
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.