From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id E5EE613877A for ; Sat, 26 Jul 2014 20:25:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 189F5E0E0F; Sat, 26 Jul 2014 20:25:53 +0000 (UTC) Received: from mail-yk0-f181.google.com (mail-yk0-f181.google.com [209.85.160.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0D59DE0B8C for ; Sat, 26 Jul 2014 20:25:51 +0000 (UTC) Received: by mail-yk0-f181.google.com with SMTP id q200so3670160ykb.26 for ; Sat, 26 Jul 2014 13:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=AARmF8WyKTmcMZoEt01RH+GayafMVJbknD3fbcByuHI=; b=WhNpy18+Qz7CiPUOi92ETMn6L9zoSjov2DN/cTkSEO4DbnEny4hR/RZNM4zsl2yZ6S kCtswXRbvYWOajrleH0eeRdh3JuUd16UIlOoj4qlVyr72/deamhsq3njLKeqb3yE75Qz zhVTb1ICAdP3F5mFL/ehOeaFfyWyntFB6LLwRWGcP9kX89pPs50CKEpQRl6kiteQjADV OV4pIG6DKXSrc/jGj5GHI7NnVRCb8c6fT3bJBpGGmo8z2Wztie/jHNylPo3HbAGFF178 NJpC+omNH7kCdyNMIInDuWRtR5tEGj+9mp5SFddKySBe1B/g+GwB8ZvaD2BIIFD0oLrn rigA== X-Received: by 10.236.31.135 with SMTP id m7mr36395614yha.104.1406406351000; Sat, 26 Jul 2014 13:25:51 -0700 (PDT) Received: from [192.168.2.5] (adsl-65-0-122-210.jan.bellsouth.net. [65.0.122.210]) by mx.google.com with ESMTPSA id 65sm27968286yhw.36.2014.07.26.13.25.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Jul 2014 13:25:50 -0700 (PDT) Message-ID: <53D40ECD.2030602@gmail.com> Date: Sat, 26 Jul 2014 15:25:49 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: re: which NTPd package to use? References: <53D39983.8050706@gmail.com> <53D3EFEC.1060100@gmail.com> In-Reply-To: <53D3EFEC.1060100@gmail.com> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 452cdd5c-b067-4bcc-a722-3fba0953632e X-Archives-Hash: b9d15893bc791020b7ea914818806300 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 :-) :-)