From 6e5283f5d14b5b8fe92fd5977fda558e041f2114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Wed, 18 Feb 2026 16:43:19 +0100 Subject: [PATCH] confd: ntp: Adapt to changes in chrony 4.8 In 4.8 local clocks is not synced by default, waitsync is set to 300, this set it to 0. --- src/confd/src/ntp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/confd/src/ntp.c b/src/confd/src/ntp.c index 2cf2465a..d47d07a9 100644 --- a/src/confd/src/ntp.c +++ b/src/confd/src/ntp.c @@ -208,7 +208,7 @@ static int change(sr_session_ctx_t *session, struct lyd_node *config, struct lyd /* Local clock fallback - only if stratum is valid (1-15) */ if (stratum >= 1 && stratum <= 15) { fprintf(fp, "# Local reference clock - fallback stratum %d source\n", stratum); - fprintf(fp, "local stratum %d orphan\n\n", stratum); + fprintf(fp, "local stratum %d orphan waitunsynced 0\n\n", stratum); } }