Time zone Update Suse 8.1 SURPRIZE SURPRIZE

Jerry Feldman gaf at blu.org
Fri Mar 23 07:35:14 EDT 2007


It's been a while since I had SuSE 8.0, but much of your pain could be
alleviated by changing these values in YaST, and let it run SUSEConfig
for you. 
 On Thu, 22 Mar 2007 15:27:53 -0400
"stephen goldman" <sgoldman at MIT.EDU> wrote:

> Hello Dan,
>     Thanks for your time-
> 
> The host info is below and is still an hour off.          it is a client of 
> the NTP server
> Thu Mar 22 13:57:04 UTC 2007
> 
> The clock appears to be reading UTC, but the config stays localtime. This 
> machine (www) is a client of (overlord).
> 
> THIS  IS WWW
> 
> Thu Mar 22 13:57:04 UTC 2007
> 
> www:/etc/sysconfig # more clock
> #
> # Set to "-u" if your system clock is set to UTC, and to "--localtime"
> # if your clock runs that way.
> #
> HWCLOCK="--localtime"
> #HWCLOCK="utc"
> 
> #
> # Timezone (e.g. CET)
> # (this will set /usr/lib/zoneinfo/localtime)
> #
> TIMEZONE="America/New_York"
> #TIMEZONE="US/Eastern"
> DEFAULT_TIMEZONE="America/New_York"
> #DEFAULT_TIMEZONE="US/Pacific"
> www:/etc/sysconfig # cd /
> www:/ # zdump -v America/New_York | grep 2007
> America/New_York  Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 
> EST isdst=0 gmtoff=-18000
> America/New_York  Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 
> EDT isdst=1 gmtoff=-14400
> America/New_York  Sun Nov  4 05:59:59 2007 UTC = Sun Nov  4 01:59:59 2007 
> EDT isdst=1 gmtoff=-14400
> America/New_York  Sun Nov  4 06:00:00 2007 UTC = Sun Nov  4 01:00:00 2007 
> EST isdst=0 gmtoff=-18000
> www:/ #
> 
> THIS IS OVERLORD
> 
> {This is the time server: Host overlord }
> 
> overlord:/etc/sysconfig # more clock
> #
> # Set to "-u" if your system clock is set to GMT, and to "--localtime"
> # if your clock runs that way.
> #
> GMT="--localtime"                                               AM I LEAVING 
> THIS ALONE?
> 
> #
> # Timezone (e.g. CET)
> # (this will set /usr/lib/zoneinfo/localtime)
> #
> TIMEZONE="US/Eastern"                        After I install the patch will 
> convert to                       DEFAULT_TIMEZONE="America/New_York"
> DEFAULT_TIMEZONE="US/Pacific" 
> DEFAULT_TIMEZONE="America/New_York"
> overlord:/etc/sysconfig #  date
> Thu Mar 22 14:01:42 EST 2007
> 
> ( not my systems - not sure why set to default timezone pacific)
> 
> 
> 
> ntp.conf  file
> ## Outside source of synchronized time
> ##
> ## server xx.xx.xx.xx           # IP address of server
> server tick.usno.navy.mil
> server bonehed.lcs.mit.edu
> server wwv.otc.psu.edu
> 
> 
> 
>         zdump -v localtime            of client and server
> 
> Thu Mar 22 14:05:42 UTC 2007
> www:/ # zdump -v localtime
> localtime  Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 20:45:52 1901 localtime 
> isdst=0 gmtoff=0
> localtime  Sat Dec 14 20:45:52 1901 UTC = Sat Dec 14 20:45:52 1901 localtime 
> isdst=0 gmtoff=0
> localtime  Mon Jan 18 03:14:07 2038 UTC = Mon Jan 18 03:14:07 2038 localtime 
> isdst=0 gmtoff=0
> localtime  Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 03:14:07 2038 localtime 
> isdst=0 gmtoff=0
> 
> 
> Thu Mar 22 14:13:05 EST 2007
> overlord:/etc # zdump -v localtime
> localtime  Fri Dec 13 20:45:52 1901 UTC = Fri Dec 13 20:45:52 1901 localtime 
> isdst=0 gmtoff=0
> localtime  Sat Dec 14 20:45:52 1901 UTC = Sat Dec 14 20:45:52 1901 localtime 
> isdst=0 gmtoff=0
> localtime  Mon Jan 18 03:14:07 2038 UTC = Mon Jan 18 03:14:07 2038 localtime 
> isdst=0 gmtoff=0
> localtime  Tue Jan 19 03:14:07 2038 UTC = Tue Jan 19 03:14:07 2038 localtime 
> isdst=0 gmtoff=0
> overlord:/etc # zdump -v localtime | grep 2007
> 
> 
> 
> 
> 
> 
> 
> 
> > No, you need both set to America/New_York. You updated that one,
> > not US/Eastern.
> 
> ----- Original Message ----- 
> From: "Dan Ritter" <dsr at tao.merseine.nu>
> To: "stephen goldman" <sgoldman at mit.edu>
> Cc: <dsr-copies at tao.merseine.nu>; <discuss at blu.org>
> Sent: Thursday, March 22, 2007 2:43 PM
> Subject: Re: Fw: Time zone Update Suse 8.1 SURPRIZE SURPRIZE
> 
> 
> > On Thu, Mar 22, 2007 at 02:31:05PM -0400, stephen goldman wrote:
> >>    Modified it (see below) -  The clock is off an hour-
> >>    The time stated UTC but the config file says it's local time. Tried
> >> switching the HWCLOCK to UTC  ??
> >
> > Yes, there's no good reason to run a hwclock in local time
> > unless it's a dual-boot with Windows.
> >
> >> Close at this point - I found  the NTP.conf file that is the time server
> >> for this machine. It has not been touched yet !
> >
> > NTP always deals with UTC, leaves zone conversion up to the
> > client.
> >
> >> #
> >> TIMEZONE="US/Eastern"
> >> DEFAULT_TIMEZONE="America/New_York"
> >> #DEFAULT_TIMEZONE="US/Pacific"
> >
> > No, you need both set to America/New_York. You updated that one,
> > not US/Eastern.
> >
> >> >/etc/sysconfig/clock:
> >> >TIMEZONE="America/New_York"
> >> >DEFAULT_TIMEZONE="America/New_York"
> >
> > Then run this:
> >
> > /etc/init.d/boot.clock start
> >
> > -- 
> > .. .----. --   .-. . .- -.. .. -. --.   -.-- --- ..- .-.   -- .- .. .-.. 
> > .-.-.-   .-- .... ---   . .-.. ... .   .. ... ..--..
> > http://tao.merseine.nu/~dsr/eula.html is hereby incorporated by reference.
> >
> > -- 
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
> > _______________________________________________
> > Discuss mailing list
> > Discuss at blu.org
> > http://lists.blu.org/mailman/listinfo/discuss
> > 
> 
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://lists.blu.org/mailman/listinfo/discuss
> 


-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9


More information about the Discuss mailing list