[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP replication when NTP server sets the time ahead



Michael Ströder wrote:
Brad Knowles wrote:
Dieter Kluenter wrote:

Set the hardware clock to utc time and have the operating system set
time to the local timezone.
I don't think this has anything to do with the hardware clock.

I think Dieter was referring to a setting you can adjust in some Linux distributions. You can either let the hardware clock run as UTC or local time. This can avoid messing up the time setting of another OS which might be started alternatively from another partition and assumes the hardware clock runs in the local timezone.

Anyway it boils down to take care of the time zone depending on
your system's need.

Every OS out there today runs its system clock in UTC and provides separate APIs for returning system time vs local time. Anyone having this sort of problem simply has a misconfigured OS.


--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP     http://www.openldap.org/project/