Re: [chrony-dev] [PATCH] nm-dispatcher: handle NTP servers from DHCP |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH] nm-dispatcher: handle NTP servers from DHCP
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 21 May 2020 16:39:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1590071973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rFI9uKLbDXdKPOJhsB+4BGjy+a9JDd7AlvZV8tQ1NRc=; b=F07yghNcd87DaRJj1Mpb+ikkjrIgHstlA7mH8IyyDSyVWRRKurWh9dywofzysUgsg6mz4k uSQjpPLZ2m/X/OPRTUd43EWfhTTKzklK4hObXOajs1HkXY3N5mGgvkOfbCXkMxJKirExfC mkVgifhqYe/NtPV89iBS+mtL3VzgdQQ=
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.