Re: What happened to chrony-helper

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <YmZWPdDhEkj8DB8e@localhost>
On Sun, Apr 24, 2022 at 10:13:19AM -0700, Bill Unruh wrote:
> What happened to chrony-helper and what has replaced it?

chrony-helper was a script included in some distribution packages,
mainly to support configuration of NTP servers from DHCP. It was not
included in the upstream chrony repository.

It was superseded by the sourcedir directive. If chrony.conf contains

sourcedir /run/chrony-dhcp

an NTP server obtained from DHCP can be added to a running chronyd
instance by:
# echo "server 192.168.1.123 iburst" > /run/chrony-dhcp/eth0.sources
# chronyc reload sources

and removed by:
# rm /run/chrony-dhcp/eth0.sources
# chronyc reload sources

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.