Bug 445092 - firstboot eror with existing user directory
firstboot eror with existing user directory
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: firstboot (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Chris Lumens
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-03 10:36 EDT by Robert Story
Modified: 2008-05-13 12:03 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-05-13 12:03:33 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Story 2008-05-03 10:36:06 EDT
Description of problem:
I re-installed f9 and re-used my existing home partition. When firstboot created
the a new user and re-used the same home dir, it got confused with my (somewhat
non-standard) home directory. It barfed when it could not change the owner of
/home/user/.mozilla, which is a (broken) symlink. starck trace indicated line
152 of /usr/share/firstboot/modules/create_user.py, self.admin.addUser(userEnt).

The user was created in /etc/passwd, but the corresponding group was not
created, nor was the password set.

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

How reproducible:
i'm guessing always, only tried once...

Steps to Reproduce:
1. create home partition, create broken symlink
2. install f9, re-use home for existing user
3.
  
Actual results:
firstboot hits and error and quits

Expected results:
firstboot logs error and continues running

Additional info:
Comment 1 Chris Lumens 2008-05-13 12:03:33 EDT
This will be fixed in the next build of firstboot.

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