[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proper FreeBSD installation practices
In the last episode (Jan 31), Alvaro J. Gurdin said:
> I just installed FreeBSD 6.0 on a computer I want to use to test BIND.
> The newest release is 9.3.2, but the one installed with FreeBSD 6.0 is
> 9.3.1. Since according to the ISC's website there are a few bugs in
> 9.3.1, I decided to upgrade.
>
> I then looked over the ports and found versions going up to 9.3.1. So
The bind9 port has been at 9.3.2 since late December, actually (8 days
after the upstream release).
> I downloaded the neccessary files from ISC's ftp. But I started
> wondering, where would the most appropriate place to install BIND be?
>
> My current version is installed in /usr/sbin/named, but the default
> install goes to /usr/local/sbin/named.
>
> Should I let the install go to it's default location, rename
> /usr/sbin/named to /usr/sbin/named9.3.1 and then symlink
> /usr/local/sbin/named to /usr/sbin/named?
> Or, should I tell the proper install flag to install named in
> /usr/sbin, and overwrite the previous version?( after all, I am not
> going to use it )
> I am planning to put BIND in a sandbox anyway......I ask this mainly to
> find out about common practices.
Easier to just set named_program=/usr/local/sbin/named in rc.conf and
use the included rc.d/named startup script. I thought this was
documented in the port somewhere, but apparently not. The rc.d/named
script tells named to chroot itself into /var/named/, also.
--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx