Re: removing a server specified in main configuration

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <YzqJVQzpnHKvWs5k@localhost>
On Sat, Oct 01, 2022 at 02:11:45PM -0700, Stephen Gildea wrote:
> I need something like a "removeserver" or a "clearservers" command to
> be able to completely specify my own servers and pools.  Would you
> consider adding such a feature to the configuration?

It's technically possible and not too difficult to implement, but
don't like this idea of resetting some parts of the config much. I
think I'd prefer a more general approach, so that it would work with
all directives and not just NTP sources.

The idea with enabling fragmented configuration was that the main
config could contain only sourcedir and confdir directives, and
everything else would be in their own fragments, allowing users to
disable or override individual part with a symlink/file in a different
directory.

The trouble with switching to fragmented configuration is that
existing configuration tools expect everything to be in the main
config, which would lead to unexpected behavior if there were
unexpected sources of the configuration.

I don't see a way how we could keep everyone happy.

-- 
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.