Re: [chrony-users] Can't synchronise: no majority |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Can't synchronise: no majority
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Wed, 25 Mar 2020 14:38:32 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1585143518; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Lfn6eD4HWIf/opN5YccwP9T8Tng/rUZPFhIXjGKbX+Y=; b=MhjijNd2I4aTjpqMbkVqJVyY0EeRFCrKW+JDPUTfmWn8yxbaksHKvGTdAaYCqIFWm8AB8/ dq/X/H5bSMSjmxRkdjoJOs7dthJGwVUZ+IUBfKcWzmkls6pn64TxPnB0N9MhyNdaKaDLyo D9IzAfeFdCNu5w/kDfof7sa33mf+RgE=
On Wed, Mar 25, 2020 at 01:22:11PM +0000, Niko Delarich wrote:
> I know the situation is not ideal and the customer should probably just use better servers but shouldn't chrony just pick the "better" of the two servers in this case (#2 with stratum 3)?
> There's a comment in sources.c:869 which seems to indicate it should:
> The first case is just bad luck - we need extra sources to
> detect the falseticker, so just make an arbitrary choice based
> on stratum & stability etc.
If I understand that comment correctly, it is for the example with
three servers, where two and two agree with one another, so that's a
different case, and the "arbitrary choice" is for selecting the system
peer, not a falseticker.
> Or is there maybe a configuration option I'm missing? Setting one of the sources to "trusted" manually is most likely not an option for us since the servers may be assigned by a DHCP server.
No, I don't think there is a non-source option that would force
chronyd to select a source in this case.
They should disable the bad server.
--
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.