Bug 1261072 - installation fails trying to create existing user on /home
Summary: installation fails trying to create existing user on /home
Keywords:
Status: CLOSED DUPLICATE of bug 1260318
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-08 14:08 UTC by Richard S. Hendershot
Modified: 2015-09-11 12:23 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-09-10 14:16:54 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
backtrace (1.34 KB, text/plain)
2015-09-10 14:00 UTC, Richard S. Hendershot
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.