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: Mon, 29 Jun 2020 17:46:35 +0200
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1593445600; 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=5V33K8DqsWFnBOAtcHue5ayEjubQdvcXGnuVNf231xU=; b=DwwVLwhnjSrlUdtoU7aMTZMMpPjgzdS5TOfNc9Yln5HcfHegTTW5uN9frQy631ag16Sqd5 Qj1OnSO9vOFrhDZKj2yOCqbsmwIHWkYaywi5eO4PiitqGlGnqs3OvUNcY+h6eDAgt48CbV VbCTXhuUPdGt1fJTVnff63Hhcsy5e/U=
On Fri, Jun 26, 2020 at 12:43:08AM -0400, Robert Fairley wrote:
> There could still be ways to proceed without doing this, but I'm not
> sure of a natural way of grouping the directives into files, without
> assuming which ones are likely to be overridden by a distribution
> and preserving visibility of the config (e.g. `pool`, `makestep`,
> `sourcedirs` would be best in separate files within `/usr/lib/chrony.d`
> to allow overriding in the case of Fedora CoreOS, but that won't apply
> for other distributions). Another way is having only one directive
> in each `.conf` file under `/usr/lib/chrony.d` and require admins to
> copy the file into `/etc/chrony.d` before editing it, which I think
> would still be reasonable, but it's more difficult for the admin to
> see all the main directives that way.
I think I'd prefer some grouping of directives in fragments like
"10-timesources", "10-defaultpaths" that could be shared between
distributions over single-directive fragments and the "reset"
directive, but I don't really like the fact the admin needs to use a
correct name for the file in order to disable the default sources.
I'll need to think about this more.
> Agreed, it makes sense now to simplify the file now the helper
> isn't included - updated now.
Applied. Thanks!
--
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.