[chrony-users] Marking a refclock unusable / changing its precision at runtime |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] Marking a refclock unusable / changing its precision at runtime
- From: Keenan Tims <keenan.tims@xxxxxxxxx>
- Date: Mon, 19 Sep 2022 14:26:35 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date; bh=bCLqVBCMmZr9KtLqY4wXbQzbW2fb9Q6AxMnc0Eq7GQg=; b=da/lXuCX837LikuCB278DUOnpNeYYe6AgOoMx/N9RrjV5MPW8yqBjhjeSQj5ThWi0X PsmG3lVtx26lrQv0fKW/+SBYYo1FewlGhV2GcdJul/K+/d34ID9t2+MX5UM6hm0//LaY ZFSA3FeTKkwooDmOg//xErhkaUDv/pLLErOfPWg5uxVS4KriSylW1VJP/gYWkhXR9s3C oZbXJG3GKx6GM7Hj5eixbUeteP+/fELbBaqevPcZgK+rxt/bXyccVRIwE3V5k2NugP8s tN3OmGjQaHobHKgF6SvO+tTksr5fqdU8MjyNCQb2TBq2csQfrPAiMouePtIbpeBSc2Sh W4hQ==
Is there a way to modify the selection priority of a refclock at
runtime? I am working with a PPS source that doesn't have any way to
suppress its ticks when the reference source becomes unavailable (eg
GPS signal lost), but I am able to monitor the state of the reference.
I'm looking for a way to 'inform' chrony that this source is no longer
suitable to trust after a holdover period, and avoid the several ms of
drift that would otherwise be allowed before the source is marked
falseticker.
I would prefer not to run my monitoring task as root, so that it can
restart chrony (and thus also lose all of chrony's state with its
servers), so I was looking for a way to remove / noselect / unprefer'
the refclock via chronyc, but these options all seem to only be
available for NTP servers. Is there something I am missing, or is the
only option to modify the configuration file and restart chrony
entirely (or implement a SOCK/SHM shim)?
Keenan
--
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.