Bug 706169

Summary: Fedora / Red Hat doesn't allow setting system clock to UTC timezone
Product: [Community] Spacewalk Reporter: Mike <MikeDawg>
Component: ReleaseAssignee: Jan Pazdziora (Red Hat) <jpazdziora>
Status: CLOSED DEFERRED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.5CC: jonathan, jpazdziora, MikeDawg, nphilipp, vanmeeuwen+fedora
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-23 13:12:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 723481    

Description Mike 2011-05-19 16:52:00 UTC
Description of problem:

Fedora / Red Hat currently doesn't support setting the system clock to UTC on build.  This is the case as far as kickstart installs are concerned (also applicable to Satellite server installs).

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

All

How reproducible:

A sample of configuring the time zone for a kickstart file:

timezone --utc America/Los_Angeles

While --utc is there, that only sets the clock for the hardware clock.  You can not specify something like the following:

timezone --utc UTC

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:

An administrator should be able to set the system clock (not hardware clock) to UTC.

Additional info:

Comment 1 Chris Lumens 2011-05-20 14:01:05 UTC
Looks like "UTC" is not in the list of things supported by system-config-date, though "Etc/UTC" certainly is.

Comment 2 Nils Philippsen 2011-05-20 15:02:26 UTC
... which is the same thing (just more organized ;-)). This should cut it for you then:

timezone --utc Etc/UTC

Comment 3 Mike 2011-05-23 17:50:50 UTC
Quickly looking at the satellite server, under System Details --> Locale option, I'm not seeing Etc/UTC in there as an option, when configuring a kickstart.

Comment 4 Nils Philippsen 2011-05-24 11:24:34 UTC
I guess that this needs to be changed in the Satellite Server.

Comment 5 Mike 2011-06-01 17:30:49 UTC
Assigning the spacewalk group to take a look at this.

Again, this is for kickstarts from the RHN Satellite server (and spacewalk server).

Comment 6 Jan Pazdziora (Red Hat) 2011-07-20 11:49:54 UTC
Aligning under space16.

Comment 7 Jan Pazdziora (Red Hat) 2011-09-23 13:12:27 UTC
(In reply to comment #3)
> Quickly looking at the satellite server, under System Details --> Locale
> option, I'm not seeing Etc/UTC in there as an option, when configuring a
> kickstart.

Please use the

Kickstart Details > Advanced Options > timezone field

to set the timezone -- you can put in

--utc Etc/UTC

or any other time zone.

I'm actually thinking about removing the

System Details > Locale

page since we will have hard times providing correct list of locales for all versions of anaconda for all OSes that can be provisioned.