CentOS Bug Tracker
CentOS Website

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003975 [CentOS-5] tzdata major always 2009-11-03 18:41 2009-11-03 21:38
Reporter ill-logic View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version 5.4
Summary 0003975: Can not change timezone
Description I upgraded to CentOS 5.3 from 5.4 by doing a yum upgrade. After the upgrade the timezone was set to UTC so I tried running tzselect to change it to CT. You can see a full screen capture from running tzselect here: http://pastebin.com/m5af09289. [^] Notice how the the before and after times both still have UTC even though I chose America/Chicago.

When tzselect didn't work I tried I renamed /etc/localtime and then symlinked that path to /usr/share/zoneinfo/America/Chicago. I then rebooted the system and found that didn't work either.

Lastly I changed /etc/sysconfig/clock so it had ZONE="America/Chicago". Then I ran /usr/sbin/tzdata-update and rebooted the system. That didn't work either.

How can I change the timezone on my upgraded CentOS 5.4 VMs?
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010257)
jhughes@hughesjr.com (administrator)
2009-11-03 18:53

Make sure that the OTHER variable is also set correctly in /etc/sysconfig/clock :

UTC=false

If UTC=true is set, it will convert the time to UTC.
(0010258)
ill-logic (reporter)
2009-11-03 19:02

It is set to false...

[btheisen@lb02 ~]$ cat /etc/sysconfig/clock
ZONE="America/Chicago"
UTC=false
ARC=false
[btheisen@lb02 ~]$ date
Tue Nov 3 19:01:27 UTC 2009

It's probably worth noting that this is happening in a Slicehost VM. I'll try to reproduce on some of my standalone boxes here at work too though.
(0010263)
ill-logic (reporter)
2009-11-03 21:38

I tried to reproduce this issue on a standalone server and was unable to. Appears to be a Slicehost specific problem. Sorry for the hassle.

- Issue History
Date Modified Username Field Change
2009-11-03 18:41 ill-logic New Issue
2009-11-03 18:41 ill-logic Assigned To => kbsingh@karan.org
2009-11-03 18:53 jhughes@hughesjr.com Note Added: 0010257
2009-11-03 19:02 ill-logic Note Added: 0010258
2009-11-03 21:38 ill-logic Note Added: 0010263


Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker