Bug 1002921

Summary: kickstart group+user --[gu]id option arguments don't work
Product: Red Hat Enterprise Linux 7 Reporter: Heinz Mauelshagen <heinzm>
Component: anacondaAssignee: Martin Kolman <mkolman>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: heinzm
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-15 15:28:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Heinz Mauelshagen 2013-08-30 09:00:24 UTC
Description of problem:
kickstart addition of group and user fails to set uid/gid correctly.

Version-Release number of selected component (if applicable):
anaconda-19.31.11-1.el7

How reproducible:
Add "
group --name=foogroup --gid=500
user  --name=baruser --uid=1002 --groups=foogroup --password=passwd --plaintext
" to kickstart and install.

Steps to Reproduce:
1. Kickstart install with aforementioned group+user config
2.
3.

Actual results:
User id wrong.
User not in reqeusted primary group.

Expected results:
User id correct and user in requested primary group.

Additional info:
Working around issue in %post via usermod

Comment 2 Martin Kolman 2013-10-10 11:55:30 UTC
Using Anaconda 19.31.23-1 on the 20131007 nightly image, I am not able to reproduce this issue. Could you recheck if it works for you too ?

Comment 3 Martin Kolman 2014-01-15 15:28:22 UTC
Closing for now due to insufficient data. Feel free to reopen if someone can reproduce it on a recent compose.