Bug 445092 - firstboot eror with existing user directory
Summary: firstboot eror with existing user directory
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: firstboot
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-03 14:36 UTC by Robert Story
Modified: 2008-05-13 16:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-13 16:03:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Story 2008-05-03 14:36:06 UTC
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 16:03:33 UTC
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.