Red Hat Bugzilla – Bug 81901
character limit on any line in /etc/group - not to exceed 860
Last modified: 2016-11-24 09:58:11 EST
Description of problem:
Whenever the total members of one group (including the group name and group
id ) exceed 860 characters on that group line in /etc/group, the group fails.
For instance, group blah has several members. The character total for it's
line is 858. Whenever a new user is added to that group, group functions no
longer work. For instance, adding user "whatever" to group blah. Before you do
this, groups admin reports correctly, the groupid on all the files from ls -l
show up correctly, etc - but after adding user "whatever":
[root@web web]# groups whatever
id: cannot find name for group ID 567
Version-Release number of selected component (if applicable):
no idea what component controls /etc/passwd or /etc/group
Steps to Reproduce:
1. Add enough users to a group to total 850something characters on that
2. Add another user or couple users that would bring that total to 860 or
3. groups will cease to function properly for anyone in that group.
patch to fix the limitation
the kernel never does anything with /etc/group
This was fixed in rawhide glibcs.
I've tried a RAWHIDe Glibc (glibc-2.3.1-51) and this fixed a problem with
groups... But next I've discocvered that RPM no longer works!
I've spent ten hours to return the system backward to glibc shipped with RH 8.0.
It was a nighmare.
I'm just wondering,
1. If the problem is well know (first bug reports are opened in October 2002)
why does NO ERRATA still available?
2. Jakub, the fact that problem was fixed in Rawhide do not cover RH 8.0 users,
since it not always possible to use untested beta releases and sometime it is
really dangerous to system stability.
3. In other reports for glibc/rpm functionality when upgarded from 8.0 to
Rawhied I discovered that RPM from rawhide shold be updated prior to glibc
update. And why then there're NO dependencies confgiured for that case in glibc
packages??? Installing recent RAWHIDE glibc crashes RPM.
And moreover I don't understand why the bug is CLOSED if no NORMAL solution is
still available to fix the problem.
"Guys, use RAWHIDE glibc" is not the working solution since it breaks RPM and
effect system stability.
now that my rpm is broken and the problem still not fixed, how can I fix rpm?
Heh, good question.
Personally, I've managed to fix the problem by downloading glibc packages that
comes with 8.0, opened them in midnight commander (MC) and copied executables
and libraries manually, overwriting RAWHIDE glibc ones.
Then, PRIOR to any reboot procedures, perform normal downgrade (rpm -Uhv --
oldpackage) of glibc packages. After you'll overwrite libraries (and
executables?), rpm will function again and it is VERY IMPORTANT to perform
normal downgrade using RPM to remove any inconsistencies.
After that, you can reboot and enjoy old glibc.
But anyway, I wonder why no ERRATA is still available for RH 8.0 glibc...
An errata 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 the 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.