Re: [chrony-users] Pool vs. server without config parsing |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-users] Pool vs. server without config parsing
- From: Rob Janssen <chrony-users@xxxxxxxxx>
- Date: Fri, 21 Jun 2024 21:21:28 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=pe1chl.nl; s=pe1chl; t=1718997689; bh=/SkEZEugVVX/dwsyqrdXrtT8M42S9cW543a1J0VC5Xw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=DqIRAwvA2syHpJwIMyvuvJRNRnv78bx8iwo29Ii/QQu8QqTwQP3oxWJ/hlbddc1q2 KkROGhxKCDPDzgtwYIT7oXsd2fmuq/UxhMz4M6oGD3X0Es2HEW6iGyn7etX+pXXDZK brcsR0xgZJ4PN6/HsJZEYDPSmLWl81elw+bUvQ9uIu5F5MNJi72E+9OOmZ4zMt++pS unyr0Al8COCFDGbWo1uTnXcjbLgjH7KkUZP2ixwurrEKT25Mw+SB794RkfKcYqUUCc NBnQunQ9p74kKNDra6hDAeUE464LDbB3KHoGsID7zVnvyVV2w5uwaDKD2ZrV6XKxJm CeTfK2/N7tzQA==
- Organization: PE1CHL
As far as I understand it, you want to make sure that the configuration of
the sources is syntactically correct, and maybe also that the sources are working.
It should be possible to do that by reading the .sources files (which are easier
to parse than a full chrony.conf) and maybe check if there is a corresponding
(or at least reasonable) number of actual sources in the running chrony.
Other than that, I would not know what you are getting at.
Personally I find it unfortunate that a .sources file can only contain peer, pool and
server directives and not refclock, but for you that is probably a blessing because
refclock would be more difficult to parse and validate.
Rob
On 2024-06-21 18:42, Josef 'Jeff' Sipek wrote:
> On Fri, Jun 21, 2024 at 18:26:06 +0200, Rob Janssen wrote:
>> Maybe you should look at how more recent versions of chrony and the packaging
>> by distributors handle this issue.
> That's exactly how we plan to do things, but we also want a sanity check
> that the configuration and running state match our expectations (system
> upgrades can be very messy when moving from a wild-west scenario to a more
> closely managed config). Using confdir/sourcedir won't make the "sanity
> check" step go away.
>
> Or am I missing something?
>
> Thanks,
>
> Jeff.
>
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.