List Info

Thread: daylight savings time




daylight savings time
user name
2008-03-18 21:31:01
I'm running FreeBSD 5.5.  I'm in California and my hardware
clock is set to
UTC I believe (how to check if it's important?).  Ever since
the daylight
saving time shift here in California a couple of weeks ago
my clock has been
late by one hour.  For example right now it is 7:28 PM and
my computer says:

nlandysspeedy# date
Tue Mar 18 18:28:08 PST 2008

I have NTP running and I verified that it works by setting
the clock to be
off by one hour and one minute (basically nudge the time by
one minute) and
the clock synchronizes itself to be accurate to the minute
and second but
off by one hour.

Does anyone know how to fix this?  Is there some sort of
updated time zone
data that I need?  Thanks in advance.

-Nerius
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: daylight savings time
country flaguser name
New Zealand
2008-03-18 22:29:47
On Tue, Mar 18, 2008 at 07:31:01PM -0700, Nerius Landys
wrote:

[...]
> I have NTP running and I verified that it works by
setting the clock to be
> off by one hour and one minute (basically nudge the
time by one minute) and
> the clock synchronizes itself to be accurate to the
minute and second but
> off by one hour.
> 
> Does anyone know how to fix this?  Is there some sort
of updated time zone
> data that I need?  Thanks in advance.

The port misc/zoneinfo is what you need.

Alternatively, you can tweak the zoneinfo file in
/usr/src/share/zoneinfo
yourself and zic(8) it; and then copying/linking the
appropriate compiled
zoneinfo file to /etc/localtime.
-- 
Jonathan Chen <joncchen.org.nz>
------------------------------------------------------------
----------
"With sufficient thrust, pigs fly just fine. However,
this is not necessarily
a good idea. It is hard to be sure where they are going to
land, and it
could be dangerous sitting under them as they fly
overhead." -- RFC 1925
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: daylight savings time
country flaguser name
United States
2008-03-18 22:53:05
On Tue, 18 Mar 2008 at 19:31 -0700, nlandysgmail.com
confabulated:

> I'm running FreeBSD 5.5.  I'm in California and my
hardware clock is set to
> UTC I believe (how to check if it's important?).  Ever
since the daylight
> saving time shift here in California a couple of weeks
ago my clock has been
> late by one hour.  For example right now it is 7:28 PM
and my computer says:
>
> nlandysspeedy# date
> Tue Mar 18 18:28:08 PST 2008
>
> I have NTP running and I verified that it works by
setting the clock to be
> off by one hour and one minute (basically nudge the
time by one minute) and
> the clock synchronizes itself to be accurate to the
minute and second but
> off by one hour.
>
> Does anyone know how to fix this?  Is there some sort
of updated time zone
> data that I need?  Thanks in advance.

Our server BIOS clocks are set to UTC. To ensure UTC time in
FBSD, I've 
always removed the file /etc/localtime. FBSD will default to
UTC if it can 
not find /etc/localtime (at least that's what I've witnessed
since FBSD 
5.5).

------
  _|_
|_| |
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: daylight savings time
country flaguser name
United States
2008-03-18 23:03:59
Never mind. I was assuming the server was running in UTC.

On Wed, 19 Mar 2008 at 03:53 -0000, d.hillyournetplus.com confabulated:

> On Tue, 18 Mar 2008 at 19:31 -0700, nlandysgmail.com
confabulated:
>
>> I'm running FreeBSD 5.5.  I'm in California and my
hardware clock is set to
>> UTC I believe (how to check if it's important?). 
Ever since the daylight
>> saving time shift here in California a couple of
weeks ago my clock has 
>> been
>> late by one hour.  For example right now it is 7:28
PM and my computer 
>> says:
>> 
>> nlandysspeedy# date
>> Tue Mar 18 18:28:08 PST 2008
>> 
>> I have NTP running and I verified that it works by
setting the clock to be
>> off by one hour and one minute (basically nudge the
time by one minute) and
>> the clock synchronizes itself to be accurate to the
minute and second but
>> off by one hour.
>> 
>> Does anyone know how to fix this?  Is there some
sort of updated time zone
>> data that I need?  Thanks in advance.
>
> Our server BIOS clocks are set to UTC. To ensure UTC
time in FBSD, I've 
> always removed the file /etc/localtime. FBSD will
default to UTC if it can 
> not find /etc/localtime (at least that's what I've
witnessed since FBSD 5.5).
>
> ------
> _|_
> |_| |
> _______________________________________________
> freebsd-questionsfreebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
>

------
  _|_
|_| |
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

Re: daylight savings time
user name
2008-03-19 12:12:34
>
> The port misc/zoneinfo is what you need.
>
> I installed this port and ran 'tzsetup' afterwards. 
Everything works
now.  Thanks.

I also edited /etc/make.conf to include the line
"MK_ZONEINFO=no" as per the
instructions in the file /usr/ports/misc/zoneinfo/pkg-descr.
 However, in my
5.5 distribution, /usr/share/examples/etc/make.conf has no
mention of this
variable (in fact my 7.0 FreeBSD computer has no mention of
MK_ZONEINFO in
this file either).  So my question is - will the zoneinfo
get clobbered if
and when I ever reinstall world?  Where can I find a
comprehensive list of
available make options that can be put into make.conf?
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )