Date: Sat, 30 Jan 2010 08:17:56 -0700 From: Ben Schumacher <benschumacher@gmail.com> To: freebsd-questions@freebsd.org Cc: David Rawling <djr@pdconsec.net> Subject: Re: Replacing base NTP with ports NTP Message-ID: <9859143f1001300717o35e3b283jb83b1580948c5e0e@mail.gmail.com> In-Reply-To: <4B644B0D.60306@pdconsec.net> References: <4B644B0D.60306@pdconsec.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 30, 2010 at 8:06 AM, David Rawling <djr@pdconsec.net> wrote: > 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. > > Recently, for reasons that have become lost in the mists of time, I noticed > that I wasn't running the port version of NTP (/usr/local/sbin/ntpd), but > the version installed with the base system (/usr/sbin/ntpd). > > 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. > > 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. > > Can anyone point me in the direction of some documentation? David- I'm not going to claim that this is the "best" way either, but if you're doing source installs you could just set "WITHOUT_NTP=true" in /etc/src.conf to disable the installation of the system one. You can use "man src.conf" to find out more about this. I stop installations of a bunch of standard services this way -- lpr, bind, nis, sendmail, etc. "make delete-old" from your source build will clean up those files that are no longer used. Hope this helps, Ben
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9859143f1001300717o35e3b283jb83b1580948c5e0e>
