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 ]


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.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/