<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&#39;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 &lt;<a href="mailto:awilliam@redhat.com">awilliam@redhat.com</a>&gt;<br>
To: Development discussions related to Fedora<br>
        &lt;<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a>&gt;<br>
Subject: Re: F20 Self Contained Change: Remove deprecated calls of<br>
        using   ntpdate in favor of ntpd<br>
Message-ID: &lt;1374094084.1594.8.camel@adam&gt;<br>
Content-Type: text/plain; charset=&quot;UTF-8&quot;<br>
<br>
On Wed, 2013-07-17 at 13:44 -0700, Adam Williamson wrote:<br>
&gt; On Wed, 2013-07-17 at 16:09 +0200, Miroslav Lichvar wrote:<br>
&gt;<br>
&gt; &gt; &gt; e. Why isn&#39;t this functionality being added to chrony, rather than bouncing us back to ntpd?<br>
&gt; &gt;<br>
&gt; &gt; Which functionality exactly? Both ntpd and chronyd (in default<br>
&gt; &gt; configuration) let the kernel sync the RTC.<br>
&gt;<br>
&gt; The ability to invoke chronyd in a way that mimics ntpdate. This thread<br>
&gt; has turned up that you can invoke *ntpd* in this way: ntpd -q -g -x. But<br>
&gt; no-one has yet provided an equivalent invocation for chronyd, and I<br>
&gt; could not figure one out from the manpage.<br>
&gt;<br>
&gt; Aside from anything else, anaconda requires something like this to be<br>
&gt; available in order to check whether an NTP server is valid and<br>
&gt; available: a simple, one-off command which will &#39;return true&#39; in some<br>
&gt; obvious way if the specified server exists and responds correctly, and<br>
&gt; &#39;return false&#39; if it doesn&#39;t. For now it is using ntpdate; I suppose we<br>
&gt; could switch it to ntpd, but it would make an awful lot more sense if<br>
&gt; chronyd could do this.<br>
<br>
In fact, now I look at it, ntpd as it stands cannot replace ntpdate for<br>
anaconda&#39;s purposes, because anaconda calls ntpdate with the -q option,<br>
which means &quot;query only, do not set the clock&quot; - 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>