chrony/examples
Robert Fairley bf7f63eaed examples: add dispatcher for NTP servers from DHCP
Add new NM dispatcher script for NTP servers given by DHCP through
NetworkManager in a similar way to how distributions have done in
11-dhclient, e.g. [1]. New NTP servers are written as entries to a
file per-interface in /var/run/chrony-dhcp, which is re-read by
chronyd upon executing `chronyc reload sources`.

This provides a way for NTP server configuration to be carried over
from NetworkManager DHCP events to chrony, for DHCP clients other
than dhclient. Part of fixing integration where the NetworkManager
internal client is used, e.g [2].

Paths to the chronyc executable and sources directory are set in
variables, which may be overwritten by downstream packages, but
should work for distributions for the most part.

[1] https://src.fedoraproject.org/rpms/dhcp/blob/master/f/11-dhclient
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1800901
2020-06-29 17:43:49 +02:00
..
chrony-wait.service examples: improve systemd unit files 2017-01-31 11:22:11 +01:00
chrony.conf.example1 examples: improve configuration examples 2017-01-31 11:22:11 +01:00
chrony.conf.example2 example: update chrony.conf examples 2020-06-25 12:39:15 +02:00
chrony.conf.example3 example: update chrony.conf examples 2020-06-25 12:39:15 +02:00
chrony.keys.example examples: improve description in chrony.keys example 2018-09-12 11:38:08 +02:00
chrony.logrotate examples: update for removed cmdmon authentication 2015-08-26 10:19:33 +02:00
chrony.nm-dispatcher examples: update NetworkManager dispatcher script 2018-05-25 10:53:21 +02:00
chrony.nm-dispatcher.dhcp examples: add dispatcher for NTP servers from DHCP 2020-06-29 17:43:49 +02:00
chronyd.service examples: remove /var from PIDFile in chronyd.service 2019-05-06 15:44:24 +02:00