Red Hat Bugzilla – Bug 199333
rpmbuild segfaults for a user with an unassigned gid
Last modified: 2012-06-20 09:22:57 EDT
Description of problem:
I has a user on a dev box who is managed by LDAP auth. The user's group id did
not exist in the local /etc/group file. when doing an rpmbuild as this user,
and building an rpm from files owned by this non-existant group rpmbuild would
segfault right away. Once the gid is added in /etc/group rpmbuild worked as
Version-Release number of selected component (if applicable):
Have not tried to reproduce, but I can give it a try.
Steps to Reproduce:
1. create user with a gid that is not used in /etc/group
2. build src rpm package as this user, so that all new files are owned by this
3. call rpmbuild
creation of an rpm
The user used to create the rpm did everything localy, i.e. in $HOME, not
Is nscd running? If not, try starting the daemon.
Adding the group to /etc/group is the very easy workaround, highly recommended.
Does nscd make this work?
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.