| Re: [chrony-users] Re: NetworkManager dispatcher script(20-chrony) not working on systemd-networkd |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: Cooper <aconstantk@xxxxxxxxx>
- Subject: Re: [chrony-users] Re: NetworkManager dispatcher script(20-chrony) not working on systemd-networkd
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 27 Aug 2026 09:06:34 +0200
- Cc: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1787814400; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ydbnmp1RsLJopPulLzy8AYDUG/+LmPjobnQbqNMZWKk=; b=ielF2dEbZgTIX8ewkJoysZ2zWLl++aQk+1nDq50Ahn+2Yni0tnJds091s46NW0ZcovN14g nGvSSxJILaR9QSa7lm0KstHxy/cHJZ6hWlIxFV8iAVShW2+2sNUHAHjgNAJ4ysLfjeO81a AFcN0qbMiw6cvsJDAH1euiCyYxOtd/Y=
On Mon, Aug 03, 2026 at 05:08:37PM +0200, Miroslav Lichvar wrote:
> On Sat, Jul 25, 2026 at 03:47:22PM +1000, Cooper wrote:
> > Reopening an old thread from 2023:
> > https://www.mail-archive.com/chrony-users@xxxxxxxxxxxxxxxxxxxx/msg03268.html
> >
> > chrony: NTP sources left permanently offline after transient network
> > loss (networkd-dispatcher hook runs before the interface is usable; no
> > configured.d symlink)
>
> Thanks for the details logs and analysis (with help of an agent?).
>
> Can you please try the attached script and see if it works as expected
> for you? It matches both the operational and admin states to avoid the
> race condition and also adds the no-carrier state. Maybe it should
> also handle the failed state?
I tested the script and it seems to work ok. It will be included in
chrony-4.9. The NetworkManager script dropped networkd-dispatcher
support, so downstream packages using that script will need to be
updated to install the new script (also in the "connected.d"
directory - maybe as hardlinks to avoid duplication).
--
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.