Re: [chrony-users] Ignore source with time before X |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Ignore source with time before X
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 19 Jun 2025 07:58:46 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1750312731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0RB2xdRmQonOYkK5ViyKE4FfRA/c1cun74iG4KxpTNE=; b=gPjSSAAjBYQSFH663cbwwo85+xRCdRTHxmVDIpZH9vx83uQrb+hUjeYaKFTKno3NjoLh9R SbbaA4LgsrLHwA7ngHjhd28KQrqM5OSdU0j9VSLdg30pMzHlKxkAst61bpp4uYD8e0/KXj IzAMAzX2tBfFiFVQJG6b+8sSC/E67vU=
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@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.