* NTP and daylight saving
@ 2000-10-17 4:00 Ran Zahor
2000-10-18 4:00 ` Jens Henrik Leonhard Jensen
0 siblings, 1 reply; 2+ messages in thread
From: Ran Zahor @ 2000-10-17 4:00 UTC (permalink / raw)
Dear colleges,
We update our system clock using NTP server, we disable the daylight saving
at the zoneinfo table and build (using zic) a new localtime image.
The problem is that know on when time changes (according to the daylight
change time) at the NTP server, the time all the servers update but doesn't
turn on/off the daylight saving "flag" at the system.
The major problem here is that the daylight saving changes every year and
it's not set always to the same date.
Updating and compiling and synchronizing quit a lot of servers is not an
easy job
For example :
using the command date on non daylight saving time will display : Tue Oct 17
18:00:33 IST 2000
at daylight saving we will get : Tue Oct 17 18:00:33 IDT 2000
The difference between the two above is with the "D" and "S".
more seriously at the tm struct : inittm_isdst (that indicate if we on
daylight or not) is not change accordingly.
using the NTP time updates we lost this option, and the time is set with the
IST always.
Is there an option to set the system daylight flags w/out using the zoneinfo
tables ?
Does the NTP servers can set this flags ?
How can we on the other hand synchronize clocks and keep using NTP ?
The major problem here is that the daylight saving changes every year and
it's not set always to the same date.
Updating and compiling and synchronizing quit a lot of servers is not an
easy job, that's why we use NTP.
Thanks in advance,
Ran Zahor
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: NTP and daylight saving
2000-10-17 4:00 NTP and daylight saving Ran Zahor
@ 2000-10-18 4:00 ` Jens Henrik Leonhard Jensen
0 siblings, 0 replies; 2+ messages in thread
From: Jens Henrik Leonhard Jensen @ 2000-10-18 4:00 UTC (permalink / raw)
"Ran Zahor" <ran@ampersand.co.il> wrote:
> Dear colleges,
>
....
> The major problem here is that the daylight saving changes every year and
> it's not set always to the same date.
> Updating and compiling and synchronizing quit a lot of servers is not an
> easy job, that's why we use NTP.
NTP do not know anything about daylight saving.
NTP updates the internal unix clock, which is always in UTC (or GMT)
timezone.
All time stamps in files, are kept in UTC.
So NTP can't help you?
> Thanks in advance,
> Ran Zahor
Your are welcome.
Jens Henrik Jensen, Tele Danmark IT A/S
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-10-18 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-17 4:00 NTP and daylight saving Ran Zahor
2000-10-18 4:00 ` Jens Henrik Leonhard Jensen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox