Bug 965571

Summary: anaconda.log contains error 'user already exists' even in case the problem was invalid username
Product: [Fedora] Fedora Reporter: Martin Banas <mbanas>
Component: anacondaAssignee: David Shea <dshea>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 19CC: anaconda-maint-list, dshea, g.kaviyarasu, jonathan, mkolman, sbueno, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: anaconda-20.7-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-30 22:05:23 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:
Bug Depends On:    
Bug Blocks: 920667    
Attachments:
Description Flags
anaconda.log
none
ifcfg.log
none
packaging.log
none
program.log
none
storage.log
none
storage.state
none
syslog none

Description Martin Banas 2013-05-21 11:24:21 UTC
Description of problem:
If username in text mode is set to invalid (like j/ohn), anaconda reports that there was error creating user because it already exists. It doesn't

Version-Release number of selected component (if applicable):
Fedora-19-Beta-RC2
anaconda-19.28

How reproducible:
always

Steps to Reproduce:
1. Start installation in text mode
2. create new user, as FULL name enter 'j/ohn', or 'root'
3. Finish installation

Actual results:
10:55:45,378 INFO anaconda: Creating users
10:55:45,379 INFO anaconda: created new libuser.conf at /tmp/libuser.5mTk05 with instPath="/mnt/sysimage"
12:55:45,528 CRIT anaconda: Error when creating new user: name contains invalid char `/'
10:55:45,533 ERR anaconda: User j/ohn already exists, not creating.
10:55:45,535 INFO anaconda: Configuring addons

Expected results:
10:55:45,378 INFO anaconda: Creating users
10:55:45,379 INFO anaconda: created new libuser.conf at /tmp/libuser.5mTk05 with instPath="/mnt/sysimage"
12:55:45,528 CRIT anaconda: Error when creating new user: name contains invalid char `/'
10:55:45,535 INFO anaconda: Configuring addons

Comment 1 Martin Banas 2013-05-21 11:25:07 UTC
Created attachment 751043 [details]
anaconda.log

Comment 2 Martin Banas 2013-05-21 11:25:42 UTC
Created attachment 751045 [details]
ifcfg.log

Comment 3 Martin Banas 2013-05-21 11:25:58 UTC
Created attachment 751048 [details]
packaging.log

Comment 4 Martin Banas 2013-05-21 11:26:08 UTC
Created attachment 751049 [details]
program.log

Comment 5 Martin Banas 2013-05-21 11:26:13 UTC
Created attachment 751051 [details]
storage.log

Comment 6 Martin Banas 2013-05-21 11:26:18 UTC
Created attachment 751052 [details]
storage.state

Comment 7 Martin Banas 2013-05-21 11:26:24 UTC
Created attachment 751053 [details]
syslog