timezone on RHEL5.3 -- see BZ#481617 / KB DOC#15687

Bryan J Smith bjs at redhat.com
Tue May 12 16:37:01 UTC 2009


[ Sorry, forgot to quote the correct portion, so it makes more sense. ]

On Tue, 2009-05-12 at 14:06 +0100, Tom Brown wrote:
> In my kickstart i set my language and timezone to be
> lang en_US.UTF-8
> langsupport --default=en_US.UTF-8 en_US.UTF-8
> timezone --utc Europe/London
> The build goes fine however on the built system the timezone is BST - 
> any clue as to why?

On Tue, 2009-05-12 at 14:03 +0100, Terry Black wrote:
> The timezone specified (Europe/London) automatically changes between
> Greenwich Mean Time (GMT) for winter months, and British Summer Time
> (BST) for summer months. The dates of the switch are end-of-March and
> end-of-October. The --utc switch says your hardware clock will be set
> to and maintained as UTC, which is the same time as GMT.

On Tue, 2009-05-12 at 14:33 +0100, Tom Brown wrote:
> thanks for that - so i guess i want Etc/UTC not Europe/London

Just beware that the Anaconda that shipped in RHEL 5.3 _fails_ to
include several timezones, such as Etc/UTC, so it may not set the
timezone correctly.

See BZ#481617 for the issue:  

  https://bugzilla.redhat.com/show_bug.cgi?id=481617   

And see KB DOC#15687 for a work-around: 

  http://kbase.redhat.com/faq/docs/DOC-15687  

NOTE:  You _can_ modify your stage2.img (compressed CPIO archive, IIRC)
in your kickstart tree to add the necessary Zoneinfo files (e.g.,
from /usr/share/zoneinfo).  However, on Spacewalk / RHN Satellite, I
found that updates (at least from RHN) can remove any modified
stage2.img with the original, losing those changes.


-- 
Bryan J Smith     Senior Consultant    Red Hat GPS SE US
mailto:bjs at redhat.com         +1 (407) 489-7013 (Mobile) 
mailto:b.j.smith at ieee.org     (non-RH/ext to Blackberry) 
-------------------------------------------------------- 
You already know Red Hat as the entity dedicated to 100%
no-IP-strings-attached, community software development.
But do you know where CIOs rate Red Hat versus other
software and services firms for their own, direct needs? 
It's no comparison:  http://www.redhat.com/promo/vendor/ 




More information about the Kickstart-list mailing list