SUMMARY: ntp question

From: Christopher L. Barnard (
Date: Wed Jul 19 2000 - 16:14:36 CDT

I asked:

> I have an NTP question for the collective. I am running Solaris 2.6, but
> this will be an issue for any Solaris OS.
> I am in timezone US/Central, and ntp keeps all of the machines in sync
> time-wise. One pool of machines needs to be set to German time, however. I
> modified the /etc/default/init file from "TZ=US/Central" to "TZ=europe" and
> it did exactly what I want. However, as soon as I fire up ntp it resyncs the
> time on my central server -- which is in US/Central. Does anyone know of a
> way to either have ntp not change the hour -- only the minute and second, or
> even better to honor the timezone set in /etc/default/init on the local
> machine?

The answer:

Boy, that was fast. Several people confirmed my guess that ntp uses GMT and
the local timezone info is used only to display. One person with good eyes
spied the problem. I was setting "TZ=europe" when what I should have been
doing is setting "TZ=Europe/Berlin" and using /usr/sbin/zic to compile the file
"europe" into the directory "Europe" with lots of separate timezone files.
Unfortunately I had to do a reboot for the timezone changes to take effect,
but everything is working fine now.

Thanks to:

"Sam Nelson" <>
"Stout, Logan" <>
"Harlan Braude" <>
Hendrik Visage <>
Arthur Darren Dunham <>
David Lew <>

| Christopher L. Barnard O When I was a boy I was told that |
| / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+

U BEFORE POSTING please READ the FAQ located at
. and the list POLICY statement located at
A To submit questions/summaries to this list send your email message to:
A To unsubscribe from this list please send an email message to:
E and in the BODY type:
R unsubscribe sun-managers
S Or
. unsubscribe sun-managers original@subscription.address
L To view an archive of this list please visit:

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:12 CDT