Bug 171124

Summary: First user has unexpected GID 501
Product: Red Hat Enterprise Linux 4 Reporter: David Barnwell <david.barnwell>
Component: tog-pegasusAssignee: Jason Vas Dias <jvdias>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: jos
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard: RHEL4U3NAK
Fixed In Version: RHBA-2006-0474 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-10 21:21:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 181409    

Description David Barnwell 2005-10-18 13:17:25 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.12) Gecko/20050919 Firefox/1.0.7

Description of problem:
In previous versions of RHEL, user UIDs and GIDs started at 500. The first user was allocated UID=GID=500, the next had UID=GID=501 and so on (see RHEL4 Introduction to System Administration manual, section 6.3.1.1)

With RHEL4 Update 2, a new group 'pegasus' is created during the installation. This has GID=500, and the first user then gets UID=500, GID=501. This conflicts with our existing GID allocations.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.Install a new RHEL4 Update 2 system
2.
3.
  

Actual Results:  A group 'pegasus' was created with GID=500. First new user has UID=500, GID=501.


Expected Results:  System groups should be allocated GIDs less than 500 to avoid conflict with user groups. The first user should have UID=500, GID=500.


Additional info:

Comment 1 Jason Vas Dias 2005-10-18 15:39:22 UTC
OK, this will be changed in the next RHEL-4 tog-pegasus version .
A workaround would be to create the pegasus userid and group during installation
with a different uid / gid, or to create the user / group you want to have
UID 500 GID 500 before pegasus gets installed, during installation.
You should in general not depend on specific numeric uids / gids always being
available after installation.
Note also that pegasus is optional; nothing else in the distro depends on it.
Removing the package would also remove the pegasus user and group.


Comment 4 Jason Vas Dias 2005-11-16 23:58:49 UTC
This bug is now fixed with tog-pegasus-2.4.1-4.5.rhel4 .


Comment 6 Daniel Riek 2006-03-13 20:48:38 UTC
Moving to RHEL4U4Proposed as it is ON_QA.

Clearing ACKs.

Comment 8 Jos Vos 2006-03-24 14:37:00 UTC
How is this fixed?  By adding "-r" to the groupadd command?

Comment 11 Bob Johnson 2006-04-11 15:52:34 UTC
This issue is on Red Hat Engineering's list of planned work items 
for the upcoming Red Hat Enterprise Linux 4.4 release.  Engineering 
resources have been assigned and barring unforeseen circumstances, Red 
Hat intends to include this item in the 4.4 release.

Comment 15 Red Hat Bugzilla 2006-08-10 21:21:51 UTC
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 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.

http://rhn.redhat.com/errata/RHBA-2006-0474.html