Re: [chrony-dev] [PATCH] nm-dispatcher: handle NTP servers from DHCP

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Thu, May 21, 2020 at 09:56:30AM -0400, Robert Fairley wrote:
> Following discussion in https://bugzilla.redhat.com/show_bug.cgi?id=1800901,
> this patch carries over NTP config for DHCP client backends in
> NetworkManagerother than dhclient. I have tested this with a Fedora
> machine using the NetworkManager internal client connecting to a
> DHCP server where the NTP servers option was specified. NTP
> config is written to/var/lib/chrony-servers, and ends up shown with
> `chronyc_sources`.

With this change the example NM dispatcher script would depend on the
chrony-helper script, which is not included in the upstream
repository. The patch should be downstream, or the helper script needs
to be modified to work on all (systemd-based?) distributions and
included here first. Things like /etc/sysconfig/ and the PEERNTP
variable are specific to Fedora/RHEL.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


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