[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH]
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Thu, 21 Mar 2024 16:07:58 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711033683; 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=Vvt3wLtZY/6yJYvKARY7TY/BtelrzXnFwaHxQZLpXUU=; b=WPWZkayBYK16/nxXQpFwSu48+rJXHJRNbmi4/VeLaxL99GQ0PZ0VK9gmqea1TKPDE8Ph2D OGYQHRXozaXwRJPqocc/S4LWWgUREVDo+h4eWszlssAOFrJut0+kmoBLZwOYT0ApJDoE2Y L2a15SCl881rBRdX3/SioS8tDpzeNT8=
I was going to respond to your pull request on github, I just had
other things to do earlier.
On Thu, Mar 21, 2024 at 12:18:02PM +0000, Andy Fiddaman wrote:
> There is a bootstrapping problem, however. If the system comes up without
> external connectivity, then the two boundary servers authoritatively
> advertise 1986 at stratum 10. There are also several other scenarios we've
> encountered that can occur depending on the state of connectivity.
>
> This patch adds two new options to "local" to help in these situations.
>
> The first, "local oncesynced" prevents the local reference being activated
> unless time was synchronised at some point in the past.
This makes sense to me, although I think it might be better to
generalize it as an activating root distance, which would completement
the distance option (threshold).
> The second, "local mintime" prevents the local reference being activated
> unless the system clock is later than the specified time.
Can you please explain why both options are needed? This seems more
like a hack, that should have a better solution than making
assumptions about absolute time.
--
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.