From owner-freebsd-questions@FreeBSD.ORG Tue Jan 31 22:01:38 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C5C3816A420 for ; Tue, 31 Jan 2006 22:01:38 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5616343D49 for ; Tue, 31 Jan 2006 22:01:38 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id k0VM1Vun041161; Tue, 31 Jan 2006 16:01:31 -0600 (CST) (envelope-from dan) Date: Tue, 31 Jan 2006 16:01:31 -0600 From: Dan Nelson To: Alvaro =?utf-8?B?Si4gR3VyZGnDoW4=?= Message-ID: <20060131220131.GB38470@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: FreeBSD-Questions Questions Subject: Re: Proper FreeBSD installation practices X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 22:01:39 -0000 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