Bug 739428 - kickstart user doesn't work correctly
Summary: kickstart user doesn't work correctly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 16
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
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:
Environment:
Last Closed: 2011-09-24 04:36:24 UTC
Type: ---
Embargoed:


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.
https://admin.fedoraproject.org/updates/anaconda-16.19-1.fc16

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.