<div dir="ltr"><div>Which gets me wondering if that is the best way to test for remote ntp connectivity.<br><br></div>So, I'm curious now, if there is no remote NTP server listening, will the anaconda server reject you from using that as a NTP server?<br>
<br>Mike<br><br><div><div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
------------------------------<br>
<br>
Message: 12<br>
Date: Wed, 17 Jul 2013 13:48:04 -0700<br>
From: Adam Williamson <<a href="mailto:awilliam@redhat.com">awilliam@redhat.com</a>><br>
To: Development discussions related to Fedora<br>
<<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a>><br>
Subject: Re: F20 Self Contained Change: Remove deprecated calls of<br>
using ntpdate in favor of ntpd<br>
Message-ID: <1374094084.1594.8.camel@adam><br>
Content-Type: text/plain; charset="UTF-8"<br>
<br>
On Wed, 2013-07-17 at 13:44 -0700, Adam Williamson wrote:<br>
> On Wed, 2013-07-17 at 16:09 +0200, Miroslav Lichvar wrote:<br>
><br>
> > > e. Why isn't this functionality being added to chrony, rather than bouncing us back to ntpd?<br>
> ><br>
> > Which functionality exactly? Both ntpd and chronyd (in default<br>
> > configuration) let the kernel sync the RTC.<br>
><br>
> The ability to invoke chronyd in a way that mimics ntpdate. This thread<br>
> has turned up that you can invoke *ntpd* in this way: ntpd -q -g -x. But<br>
> no-one has yet provided an equivalent invocation for chronyd, and I<br>
> could not figure one out from the manpage.<br>
><br>
> Aside from anything else, anaconda requires something like this to be<br>
> available in order to check whether an NTP server is valid and<br>
> available: a simple, one-off command which will 'return true' in some<br>
> obvious way if the specified server exists and responds correctly, and<br>
> 'return false' if it doesn't. For now it is using ntpdate; I suppose we<br>
> could switch it to ntpd, but it would make an awful lot more sense if<br>
> chronyd could do this.<br>
<br>
In fact, now I look at it, ntpd as it stands cannot replace ntpdate for<br>
anaconda's purposes, because anaconda calls ntpdate with the -q option,<br>
which means "query only, do not set the clock" - obviously, this is<br>
appropriate when we just want to test the functionality of an NTP<br>
server. ntpd does not have an equivalent option.<br>
--<br>
Adam Williamson<br>
Fedora QA Community Monkey<br>
IRC: adamw | Twitter: AdamW_Fedora | <a href="http://identi.ca" target="_blank">identi.ca</a>: adamwfedora<br>
<a href="http://www.happyassassin.net" target="_blank">http://www.happyassassin.net</a><br>
</blockquote></div><br></div></div></div></div></div>