From owner-freebsd-security Tue Jan 30 11:56: 6 2001 Delivered-To: freebsd-security@freebsd.org Received: from ducky.nz.freebsd.org (ns1.unixathome.org [203.79.82.27]) by hub.freebsd.org (Postfix) with ESMTP id 70D5F37B6BB for ; Tue, 30 Jan 2001 11:55:47 -0800 (PST) Received: from wocker (wocker.int.nz.freebsd.org [192.168.0.99]) by ducky.nz.freebsd.org (8.9.3/8.9.3) with ESMTP id IAA67144; Wed, 31 Jan 2001 08:55:42 +1300 (NZDT) Message-Id: <200101301955.IAA67144@ducky.nz.freebsd.org> From: "Dan Langille" Organization: novice in training To: "Crist J. Clark" Date: Wed, 31 Jan 2001 08:55:31 +1300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: bind8.2.3 and installation problem Reply-To: dan@langille.org Cc: security@FreeBSD.ORG In-reply-to: <20010130083928.K91447@rfx-216-196-73-168.users.reflex> References: <200101301138.AAA64905@ducky.nz.freebsd.org>; from dan@langille.org on Wed, Jan 31, 2001 at 12:38:28AM +1300 X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 30 Jan 2001, at 8:39, Crist J. Clark wrote: > On Wed, Jan 31, 2001 at 12:38:28AM +1300, Dan Langille wrote: > > On 30 Jan 2001, at 1:26, Crist J. Clark wrote: > > > > > > It can't be that simple! > > > > > > I hate to break it to you (I guess?), but it is. I did it on my > > > CURRENT box for testing and it clobbered the old BIND quite nicely. > > > Before, > > > > > > bubbles# ls -l /usr/sbin/named > > > -r-xr-xr-x 1 root wheel 501408 Jan 18 13:17 /usr/sbin/named > > > > > > After, > > > > > > bubbles# !ls > > > ls -l /usr/sbin/named > > > -rwxr-xr-x 1 root wheel 595752 Jan 30 01:22 /usr/sbin/named > > > > > > Like I said, PREFIX rocks. > > > > I actually tried: make PREFIX=/usr DESTETC=/etc install > > > > The only catch was needing to have /etc/name.conf, so I created a > > symlink: > > > > # ln -s /etc/named.conf /etc/namedb/named.conf > > > > I'll do more testing in the morning.... > > True, FreeBSD uses, > > DESTETC= /etc/namedb > > If you really want to mimic the FreeBSD install, look at the Makefiles > in /usr/src/usr.sbin/named. Thanks. For those that want to know, and I know you're out there: make PREFIX=/usr PIDDIR=/var/run DESTETC=/etc/namedb DESTEXEC=/usr/libexec DESTRUN=/var/run DESTSBIN=/usr/sbin DESTHELP=/usr/share/misc install I didn't use any of the other options... After the install, the /etc/named.conf symlink was no longer needed. ndc reload seems to be fine. I'll do some more testing later (there's not actually any zones loaded on this box). -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message