Re: Chrony not taking SOCKET data from Application

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <ZA7Q5/CZXi4W4LBA@localhost>
On Mon, Mar 13, 2023 at 10:51:14AM +0530, sarveshwar k wrote:
> Hi Miroslav Lichvar,
> 
> Does "rtcsync" directive starts syncing RTC with system time irrespective
> of refclocks syncing the System clock.

chronyd configured with rtcsync clears the kernel "unsynchronized"
flag (STA_UNSYNC) when the system clock is synchronized, which
enables the kernel 11-minute system->RTC copy. You can use the
adjtimex(8) program to verify when the status field contains 64
(STA_UNSYNC).

> Can we configure as like below:
> 1. Using refclocks for GPS and PPS, sync the system clock
> 2. Once system clock is synced, RTC should be synced
> 3. If no refclock signals available for GPS and PPS, rtcsync shall not
> happen

That's how it should work.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.