Bug 1261072

Summary: installation fails trying to create existing user on /home
Product: [Fedora] Fedora Reporter: Richard S. Hendershot <rshendershot>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: anaconda-maint-list, g.kaviyarasu, jonathan, rshendershot, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-10 14:16:54 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:
Attachments:
Description Flags
backtrace none

Description Richard S. Hendershot 2015-09-08 14:08:03 UTC
Description of problem:  /home is not reformatted and existing user is redefined during installation.  Create User fails.


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


How reproducible:  Always


Steps to Reproduce:
1. using images/boot.iso from 8-Sep added as optical device to VirtualBox VM
2. Minimal Install plus Standard, reformat root,swap,boot partitions but not home
3. define administrative user with simple password which already exists on /home

Actual results:  Create User fails for existing user but not administrative user with simple password which does not exist


Expected results:  7-Sep and before this would succeed


Additional info:  All steps identical to this same scenario using yesterday's boot.iso

Comment 1 David Shea 2015-09-08 14:43:38 UTC
Please attach the logs from /tmp at the time of the failure to this bug as individual, text/plain attachments.

Comment 2 Richard S. Hendershot 2015-09-10 14:00:30 UTC
Created attachment 1072204 [details]
backtrace

line 22: TypeError: uid should be integer, not str

note: this is using images/boot.iso 10-Sep

Comment 3 David Shea 2015-09-10 14:16:54 UTC
In the future, please try to provide as much information as possible when filing bugs. There are several log files in /tmp in the installer environment that include information about packaging, storage, and the state of anaconda itself, all of which are vital to understanding the context that led to a particular problem. A traceback with no details is nearly useless.

When anaconda crashes, it generates a file in /tmp that includes the traceback, local variables in the crashing frame, and the contents of several log files. There is also a dialog that pops up letting you automatically file a bug and attach all of this information, which is ideal since it includes a means of searching bugzilla to determine whether the issue has already been filed.

An issue such as this one.

*** This bug has been marked as a duplicate of bug 1260318 ***

Comment 4 Richard S. Hendershot 2015-09-11 11:26:35 UTC
Thanks, I will keep your advise in mind in the future.

I was unable, several tries, to get the automatic submission to work.  I will look into that.

I also noticed that the root user password was set incorrectly, even though the "alternate" home user was set correctly.  If I can provide any more detail to help with this please let me know

Comment 5 Richard S. Hendershot 2015-09-11 12:23:19 UTC
useradd creates the password in /etc/shadow in plain text.  passwd fixes that.