On 06/23/2015 04:47 PM, g wrote:
Richard, thank you for your response.
On 06/23/2015 02:51 PM, Richard wrote: <<>>
I agree, so my questions are:
- what is your TZ?
u.s.a. 'central time zone' - currently on 'daylight savings time'.
- what does "[/bin/]date" show?
[geo@boxen ~]$ date Tue Jun 23 14:54:42 CDT 2015
- what does your hardware clock: "/sbin/hwclock --show" report? [need to be root to use that command]
[geo@boxen ~]$ sudo hwclock --show [sudo] password for geo: Tue 23 Jun 2015 02:55:40 PM CDT -0.899861 seconds
- is your /etc/localtime file a standalone file or a symlink to /usr/share/zoneinfo/... ?
currently it is a copy of file from /usr/share/zoneinfo/ on advice from a post to this list when i had problem getting correct time to show in clock in panel.
- if a symlink, to what file?
see above answer.
- what is the timestamp on the localtime (or what it's symlinked to) file?
2015-06-18 20:50
this file was copied several months ago so time stamp shows file has been updated.
- what does "zdump -v /etc/localtime" return ? i.e., is it for the correct TZ?
[geo@boxen ~]$ zdump -v /etc/localtime /etc/localtime -9223372036854775808 = NULL /etc/localtime -9223372036854689408 = NULL /etc/localtime Sun Nov 18 17:59:59 1883 UTC = Sun Nov 18 12:09:23 1883 LMT isdst=0 gmtoff=-21036
<one hell of a long list snipped>
/etc/localtime Sun Nov 1 06:59:59 2499 UTC = Sun Nov 1 01:59:59 2499 CDT isdst=1 gmtoff=-18000 /etc/localtime Sun Nov 1 07:00:00 2499 UTC = Sun Nov 1 01:00:00 2499 CST isdst=0 gmtoff=-21600 /etc/localtime 9223372036854689407 = NULL /etc/localtime 9223372036854775807 = NULL
[geo@boxen ~]$ zdump -v CDT /etc/localtime CDT -9223372036854775808 = NULL CDT -9223372036854689408 = NULL CDT 9223372036854689407 = NULL CDT 9223372036854775807 = NULL /etc/localtime -9223372036854775808 = NULL /etc/localtime -9223372036854689408 = NULL /etc/localtime Sun Nov 18 17:59:59 1883 UTC = Sun Nov 18 12:09:23 1883 LMT isdst=0 gmtoff=-21036 /etc/localtime Sun Nov 18 18:00:00 1883 UTC = Sun Nov 18 12:00:00 1883 CST isdst=0 gmtoff=-21600 /etc/localtime Sun Mar 31 07:59:59 1918 UTC = Sun Mar 31 01:59:59 1918 CST isdst=0 gmtoff=-21600
<similar hell of a long list like above>
/etc/localtime Sun Nov 1 06:59:59 2499 UTC = Sun Nov 1 01:59:59 2499 CDT isdst=1 gmtoff=-18000 /etc/localtime Sun Nov 1 07:00:00 2499 UTC = Sun Nov 1 01:00:00 2499 CST isdst=0 gmtoff=-21600 /etc/localtime 9223372036854689407 = NULL /etc/localtime 9223372036854775807 = NULL
[geo@boxen ~]$ zdump -v CDT CDT -9223372036854775808 = NULL CDT -9223372036854689408 = NULL CDT 9223372036854689407 = NULL CDT 9223372036854775807 = NULL
so, yes. i am in 'central time zone' observing 'daylight savings time'.
Edit the file:
/etc/sysconfig/clock
make sure to set:
ZONE="America/Chicago"
then copy /usr/share/zoneinfo/America/Chicago to /etc/localtime
Run the time tool and make sure that "System clock uses UTC" is NOT checked