Re: Setting The System Clock [Linux]
From: Villy Kruse (vek_at_station02.ohout.pharmapartners.nl)
Date: 11/03/03
- Next message: Roger Leigh: "Re: How to move/copy linux installation ..."
- Previous message: Eric Moors: "Re: Mulit boot question"
- In reply to: Bill Unruh: "Re: Setting The System Clock [Linux]"
- Next in thread: John Hasler: "Re: Setting The System Clock [Linux]"
- Reply: John Hasler: "Re: Setting The System Clock [Linux]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 03 Nov 2003 08:50:33 GMT
On Sat, 1 Nov 2003 10:59:57 +0000 (UTC),
Bill Unruh <unruh@string.physics.ubc.ca> wrote:
>John Hasler <john@dhh.gt.org> writes:
>
>]Bill Unruh writes:
>
>]> chrony assumes that the local clock is in UTC...
>
>Yes, but chrony also corrects for your rtc errors. Thus chrony will look
>at your rtc, discover that it is 8 hours ( 8*3600 sec) out, and correct
>for this. Thus when you boot up and run chrony -r -s, it will look in
>/etc/chrony.rtc, see that your real time clock is 28800 sec out, read
>the rtc, subtract 28800 sec, and set your Linux system time to that.
>
>Windows of course has no such mechanism, so it will read the rtc, assume
>it is on local time, (which it will be) and display that time.
>
>
>
>]From the Chrony manual:
>
>]rtconutc
>]--------
>
>] `chronyd' assumes by default that the real time clock (RTC) keeps
>]local time (including any daylight saving changes). This is convenient
>]on PCs running Linux which are dual-booted with DOS or Windows.
>
>] NOTE : IF YOU KEEP THE REAL TIME CLOCK ON LOCAL TIME AND YOUR
>]COMPUTER IS OFF WHEN DAYLIGHT SAVING (SUMMER TIME) STARTS OR ENDS, THE
>]COMPUTER'S SYSTEM TIME WILL BE ONE HOUR IN ERROR WHEN YOU NEXT BOOT AND
>]START CHRONYD.
>
>Yes, the fact that if you change your rtc chrony has no way of
>compensating for it, because it does not and cannot know that it has
>happened, so chrony does not solve the problem of daylight savings time
>if you have your computer rtc on local time. Agreed. What it does solve
>is the problem of having your rtc on local time.
>
>
>
If you have access to a NTP server you just run ntpdate early in the
boot process and you can then ignore the RTC clock completely. If you
don't have access to a NTP server you would not be running chrony either,
would you.
Villy
- Next message: Roger Leigh: "Re: How to move/copy linux installation ..."
- Previous message: Eric Moors: "Re: Mulit boot question"
- In reply to: Bill Unruh: "Re: Setting The System Clock [Linux]"
- Next in thread: John Hasler: "Re: Setting The System Clock [Linux]"
- Reply: John Hasler: "Re: Setting The System Clock [Linux]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|