[ntp:questions] Update NTP on FreeBSD 8.2

Kenyon Ralph kenyon at kenyonralph.com
Thu Feb 9 19:19:25 UTC 2012


On 2012-02-09T18:13:53-0000, David J Taylor <david-taylor at blueyonder.co.uk.invalid> wrote:
> - I tried to update NTP using the instructions here:
>  http://support.ntp.org/bin/view/Support/InstallingNTP#Section_4.3.
>  but that didn't seem to update the version after a restart.
> 
> - I compiled the dev-NTP I had downloaded following the instructions
> in the INSTALL file, which also appeared to compile, but did not
> alter the ntpd version after a restart.
> 
> So I suspect I am missing some key step like copying the newly
> compiled executables from where they have been compiled (twice) into
> the final directory from where the system runs them.  As I said, I'm
> a complete novice in FreeBSD so likely I'm missing some very obvious
> step.  I've Googled this but must be searching for the wrong
> keywords.

The easiest way to run the latest ntp-dev is to use the Port one:
http://www.freshports.org/net/ntp-devel/

Install that using portmaster, or whatever port management tool you
prefer.

To override the base system's ntpd, put this in /etc/rc.conf:
ntpd_program="/usr/local/sbin/ntpd"

Then you can do things normally like "service ntpd restart" and it
will use your port-compiled ntpd instead of the base system's.

Using the port ntp-dev also makes upgrading easy.

For other FreeBSD matters, the handbook is always a good place to
start: http://www.freebsd.org/doc/en/books/handbook/

In particular, you might want to read about the ports system and
package management.

-- 
Kenyon Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.ntp.org/pipermail/questions/attachments/20120209/69dca307/attachment.pgp>


More information about the questions mailing list