]> git.ipfire.org Git - thirdparty/chrony.git/commit
sources: improve no majority log message
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 6 Mar 2025 11:46:09 +0000 (12:46 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 6 Mar 2025 14:22:36 +0000 (15:22 +0100)
commit454ce62672dea4bd15da5f53ad02dd95b129e5f4
treea5dc3d8d6a4546d182a355ca27a96bca255e354f
parentab850d41f4b6c93bb70a8e0445eb68783ceba56a
sources: improve no majority log message

Add the number of sources that form an agreement (overlapping
intervals), if at least two agree with each other, and number of
reachable sources to the "Can't synchronize: no majority" log message to
better explain why synchronization is failing and hint that adding more
sources might help.
sources.c
test/simulation/009-sourceselection
test/simulation/148-replacement