From owner-freebsd-questions@FreeBSD.ORG Sat Jan 30 15:34:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 050C21065672 for ; Sat, 30 Jan 2010 15:34:42 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp109.prem.mail.ac4.yahoo.com (smtp109.prem.mail.ac4.yahoo.com [76.13.13.92]) by mx1.freebsd.org (Postfix) with SMTP id 9E8678FC12 for ; Sat, 30 Jan 2010 15:34:41 +0000 (UTC) Received: (qmail 21761 invoked from network); 30 Jan 2010 15:34:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type; b=WpGWaMn73WitmdF0kN1K3Z4VkJM1VxMK7/cyeSfkDtNqdBdTONxl0VpJ65BF5Tsc9hnWWisREY1yc35fcPgFNSi63x/ey/Q0SjfUoZBSfdQJc4T2TvGtQ+i4O5P8oQut5NISwC1Jd4bHQUfD/2v5T10YeRrYTwifOE+ADnxIhmA= ; Received: from c-67-189-160-65.hsd1.ny.comcast.net (gesbbb@67.189.160.65 with login) by smtp109.prem.mail.ac4.yahoo.com with SMTP; 30 Jan 2010 07:34:40 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: bbYFJxoVM1mJBYn8xzHP.GkveGjH0GYGOcV3OJuQocjpu1KFUGKwPaqRtkrvYLwcaeEDsR3VRWkpDrE0qSntbQYltE6z9UrPCxvZpueJKvSTuTmOOE6FT2uuATBnG84ki17EIDnvFY2Z_j.kCtL3_.TiZmo_29CwO2.vtbK3GWAl7Y__9vgHm2eXQhTrCq8FxsMTnHuVO0uDYDhkv1tyUDsclc__K3UXb6DjHRD6jOIP9so.2ZAsfJb9Yfhtu9MOQ_UDV1Mls2pUVoJniGvChPfWY8ntpcbNiQXCjCJNVX3lTUcpybuiSEX0i6QZv8ro5sdv18odK8EkbRqKQv_eAQ-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.101]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 528B822855 for ; Sat, 30 Jan 2010 10:34:40 -0500 (EST) Date: Sat, 30 Jan 2010 10:34:34 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100130103434.08a786a2@scorpio.seibercom.net> In-Reply-To: <4B644B0D.60306@pdconsec.net> References: <4B644B0D.60306@pdconsec.net> Organization: seibercom.net X-Mailer: Claws Mail 3.7.4 (GTK+ 2.18.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/jDhy0bW1o+NiMOftQOVlXKh"; protocol="application/pgp-signature" Subject: Re: Replacing base NTP with ports NTP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jan 2010 15:34:42 -0000 --Sig_/jDhy0bW1o+NiMOftQOVlXKh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 31 Jan 2010 02:06:53 +1100 David Rawling articulated: > Greetings all and sundry >=20 > About 3 months ago I built myself a time server using 8.0-RC3, IIRC, > and I upgraded to 8.0-RELEASE (and now -p2). Naturally, as I want > this server to provide time services, I've installed the net/ntp > port, among others. >=20 > Recently, for reasons that have become lost in the mists of time, I=20 > noticed that I wasn't running the port version of NTP=20 > (/usr/local/sbin/ntpd), but the version installed with the base > system (/usr/sbin/ntpd). >=20 > For the immediate term, I've renamed the base versions of the files > in /usr/sbin, and then symlinked to the port version (in /usr/local) > - ntpd is now the ports version, as are most of the tools. This does, > however, seem like a rather silly way of getting the most current > NTPd running. >=20 > I cannot, for the life of me, figure out how to get the Ports version > of NTP to overwrite the base system's NTP. Yet I'm sure (since there > *is* a port of NTP) there must be a better way to do this. >=20 > Can anyone point me in the direction of some documentation? >=20 > Dave. =46rom the /etc/defaults/rc.conf file: ntpdate_enable=3D"NO" # Run ntpdate to sync time on boot (or NO= ). ntpdate_program=3D"/usr/sbin/ntpdate" # path to ntpdate, if you want a = different one. ntpdate_flags=3D"-b" # Flags to ntpdate (if enabled). ntpdate_config=3D"/etc/ntp.conf" # ntpdate(8) configuration file ntpdate_hosts=3D"" # Whitespace-separated list of ntpdate(8)= servers. ntpd_enable=3D"NO" # Run ntpd Network Time Protocol (or NO). ntpd_program=3D"/usr/sbin/ntpd" # path to ntpd, if you want a different o= ne. ntpd_config=3D"/etc/ntp.conf" # ntpd(8) configuration file ntpd_sync_on_start=3D"NO" # Sync time on ntpd startup, even if offs= et is high ntpd_flags=3D"-p /var/run/ntpd.pid -f /var/db/ntpd.drift" # Flags to ntpd (if enabled). Enter the appropriate line(s) into your /etc/rc.conf file. DO NOT modify the /etc/defaults/rc.conf file. --=20 Jerry gesbbb@yahoo.com |::::=3D=3D=3D=3D=3D=3D=3D |::::=3D=3D=3D=3D=3D=3D=3D |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D | You will soon meet a person who will play an important role in your life. --Sig_/jDhy0bW1o+NiMOftQOVlXKh Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iQEcBAEBAgAGBQJLZFGPAAoJEGnxpuiKsj5SD1cIAIrU3wMnMDrKWhQtCw2Xy9Yv V0Wa9TZHTI8ogl/8bJ6ZKQsp35pC670JQzIzF1aEJ3qXyZFmgu0I1mE7i0qoF8If UHZfC8TpJXlHzhZu69HKHEtlWjd/xu6Qg/YLaAKVIprv6llj1KcQw1BE8o2T0gQw NQwfzROFoFZmGF4NbWcw1Mze70h8G+u0a3ZWKUZGfWWNTVwJNC1a4i/KWCVJWEUW BWfhWVF/6RjpjjdPdfWtjMi38AR83CDCwPMAbvSsLnrMqyFlwyqgGAvEi+lci5+/ KsZPk1EaiNufK7cnf6WzhqMwcr3k/nub82WLIxttMN5gZ3QHQmDkB6KAACjOylM= =ojjB -----END PGP SIGNATURE----- --Sig_/jDhy0bW1o+NiMOftQOVlXKh--