Re: Ignore source with time before X

Miroslav Lichvar <[email protected]> Thu, 19 Jun 2025 07:58:46 +0200
Newsgroups gmane.comp.time.chrony.user
Message-ID <aFOnFlFScoxoDeh0@localhost>
On Wed, Jun 18, 2025 at 02:47:53PM -0400, Etienne Champetier wrote:
> I searched the documentation and I think the answer is no, but is
> there a way in chrony to ignore/exclude a source when the time is
> before some date ? (we can safely put in the config than anything
> before 2025/01/01 is wrong and must be ignored)

There is no way to do that with current chrony.

A general recommendation would be to specify at least two additional
sources (e.g. NTP servers), so the PTP source will be rejected as a
falseticker when it doesn't agree with the rest. If the PTP source was
marked with the "prefer" option, the other sources wouldn't be used
for synchronization unless the PTP source is rejected.

-- 
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]