From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: re: which NTPd package to use?
Date: Sat, 26 Jul 2014 15:25:49 -0500 [thread overview]
Message-ID: <53D40ECD.2030602@gmail.com> (raw)
In-Reply-To: <53D3EFEC.1060100@gmail.com>
Alexander Kapshuk wrote:
> On 07/26/2014 03:31 PM, Holger Hoffstätte wrote:
>> On Sat, 26 Jul 2014 15:05:23 +0300, Alexander Kapshuk wrote:
>>
>>> Which NTPd package would the list recommend using, ntp, openntpd, or
>>> some other package?
>> chrony - no competition, even for servers. ntpd is way overrated,
>> unnecessarily hard to setup correctly, fragile and contrary to
>> popular belief not even that accurate, unless you use external
>> HW clocks. Chrony is maintained by Red Hat in cooperation with the
>> timekeeping code in the kernel.
>>
>>> openntpd seems to be easier to set up according to wiki.gentoo.org.
>> Many many years ago I helped port openntpd to Linux. It was OK-ish at
>> the time and easier/less hassle than ntpd, but the portable version for
>> Linux stopped working reliably many years ago due to kernel changes.
>> IMHO it really should no longer be in the tree since it gives a false
>> sense of accuracy.
>>
>> just my 0.01€..
>>
>> -h
>>
>>
> Is this gentoo wiki article still relevant when it comes to configuring
> chrony on gentoo?
> http://www.gentoo-wiki.info/Chrony
>
> Or should I stick to the instructions given here:
> /usr/share/doc/chrony-1.29.1/chrony.txt.bz2
>
> Thanks.
>
>
>
This is my chrony.conf without all the commented out parts.
server 64.6.144.6
server 67.159.5.90
server 67.59.168.233
server 204.62.14.98
server 69.50.219.51
server 209.114.111.1
driftfile /etc/chrony.drift
keyfile /etc/chrony/chrony.keys
commandkey 1
logdir /var/log/chrony
log measurements statistics tracking rtc
The last two lines are optional. Use those if you like to be nosy and
watch it do its thing. I still have ntpdate installed and use it to
check and see how close it is on occasion. This is what I get from the
test:
root@fireball / # ntpdate -b -u -q pool.ntp.org
server 198.144.194.12, stratum 2, offset -0.003320, delay 0.10658
server 173.44.32.10, stratum 2, offset -0.003313, delay 0.07515
server 70.60.65.40, stratum 2, offset -0.003059, delay 0.09262
server 38.229.71.1, stratum 2, offset -0.001002, delay 0.09563
26 Jul 15:16:00 ntpdate[10232]: step time server 173.44.32.10 offset
-0.003313 sec
root@fireball / #
I did a fair sized upgrade the other day and went to the boot runlevel
afterwards to restart the services that were updated. I'm pretty sure
it has been doing its thing since then without me doing anything to it.
I think you can use mirrorselect to find the best mirrors for your
area. I can't recall the command but I bet a search of the Gentoo
forums would find it fairly quick.
Looking at the howto, the only thing I do different is put it in the
default runlevel. Unless I am in the default runlevel, there is no
internet access available anyway. No internet access, no way to set the
clock anyway. ;-)
Hope that helps.
Dale
:-) :-)
next prev parent reply other threads:[~2014-07-26 20:25 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-26 12:05 [gentoo-user] re: which NTPd package to use? Alexander Kapshuk
2014-07-26 12:18 ` Dale
2014-07-26 12:29 ` Alexander Kapshuk
2014-07-26 12:31 ` [gentoo-user] " Holger Hoffstätte
2014-07-26 12:42 ` Alexander Kapshuk
2014-07-26 18:14 ` Alexander Kapshuk
2014-07-26 18:38 ` Holger Hoffstätte
2014-07-26 19:34 ` Alexander Kapshuk
2014-07-26 20:25 ` Dale [this message]
2014-07-27 12:19 ` Alexander Kapshuk
2014-07-26 19:10 ` Peter Humphrey
2014-07-26 23:16 ` Neil Bothwick
2014-07-28 16:42 ` [gentoo-user] " Douglas J Hunley
2014-07-28 16:47 ` Rich Freeman
2014-07-28 21:20 ` Stefan G. Weichinger
2014-07-28 21:25 ` Stefan G. Weichinger
2014-07-28 22:20 ` Stefan G. Weichinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53D40ECD.2030602@gmail.com \
--to=rdalek1967@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox