Bug 739428 - kickstart user doesn't work correctly
Summary: kickstart user doesn't work correctly
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 16
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F16Blocker, F16FinalBlocker
TreeView+ depends on / blocked
Reported: 2011-09-19 01:59 UTC by Brian Lane
Modified: 2011-09-24 04:36 UTC (History)
3 users (show)

Fixed In Version: anaconda-16.19-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-09-24 04:36:24 UTC

Attachments (Terms of Use)

Description Brian Lane 2011-09-19 01:59:26 UTC
The createUser function was modified to use kwargs instead of explicit arguments. It checks to see if various attributes are in the kwargs or not, using that logic to set the homedir to the user specified homedir or the default /home

The problem is that pykickstart sets all of these to defaults like "" and False. So the attributes will always be set. So createUser needs to check for values in addition to the attribute's existance in kwargs.

The work-around is to specify all of the various settings for the kickstart user command.

Comment 1 Fedora Update System 2011-09-23 21:48:50 UTC
anaconda-16.19-1.fc16 has been submitted as an update for Fedora 16.

Comment 2 Fedora Update System 2011-09-24 04:35:30 UTC
anaconda-16.19-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

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