Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 16:01:31 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Alvaro =?utf-8?B?Si4gR3VyZGnDoW4=?= <AJGurdian@lanoticia.com>
Cc:        FreeBSD-Questions Questions <freebsd-questions@freebsd.org>
Subject:   Re: Proper FreeBSD installation practices
Message-ID:  <20060131220131.GB38470@dan.emsphone.com>
In-Reply-To: <c78f79e10feecb272db5305e541464ff@lanoticia.com>
References:  <c78f79e10feecb272db5305e541464ff@lanoticia.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060131220131.GB38470>