Subject: Re: Forcing NetBSD to use IPv4
To: Alasdair Reed <alasdair@primus.com.au>
From: Matthias Scheler <tron@zhadum.org.uk>
List: netbsd-users
Date: 02/26/2007 13:51:15
On Mon, Feb 26, 2007 at 10:55:06PM +1100, Alasdair Reed wrote:
> I tried
> 
> ktrace -o /tmp/ktrace.out named -g -d 3 -u named -t /var/chroot/named
> 
> but ktrace does not recognise the option -o

My mistake. It should have been "ktrace -f /tmp/ktrace.out ...".

> So I had a poke around in man ktrace and ran this:
> 
> ktrace named -g -d 3 -u named -t /var/chroot/named
> 
> I ran it from my home directory su'ed to root just in case that makes 
> any difference to the trace.
[...]
> 671 named open("root.cache", 0, 0x1b6) Err#2 

Here's your problem.

Did you really copy the contents (the directory and all the files in it)
of "/etc/namedb" to "/var/chroot/named/etc/namedb"?

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/