Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 08:55:31 +1300
From:      "Dan Langille" <dan@langille.org>
To:        "Crist J. Clark" <cjclark@reflexnet.net>
Cc:        security@FreeBSD.ORG
Subject:   Re: bind8.2.3 and installation problem
Message-ID:  <200101301955.IAA67144@ducky.nz.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 %2B1300

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




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