Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 231189 - pykickstart-0.98-1 uses incorrect UTC timezone specification for RHEL4 versioned kickstarts
Summary: pykickstart-0.98-1 uses incorrect UTC timezone specification for RHEL4 versio...
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Chris Lumens
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-03-06 18:34 UTC by James Laska
Modified: 2013-09-02 06:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-03-07 15:07:34 UTC

Attachments (Terms of Use)

Description James Laska 2007-03-06 18:34:29 UTC
# RPM pykickstart-0.98-1.fc7

According to "commands/" the FC3 timezone kickstart commands takes
the following argument: --isUtc.  However, I believe that format for the
timezone command is not valid until FC-5.  

However, according anaconda- (FC3) ... --utc is the only
acceptable format.

    def doTimezone(self, id, args):
    (args, extra) = isys.getopt(args, '',
        [ 'utc' ])

    isUtc = 0

    for n in args:
        (str, arg) = n
        if str == '--utc':
        isUtc = 1

It appears that the --isUtc format wasn't accepted until FC5

    def doTimezone(self, id, args):
        KickstartHandlers.doTimezone(self, args)
        dict = self.ksdata.timezone

    id.instClass.setTimezoneInfo(id, dict["timezone"], dict["isUtc"])

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