Subject: bind problems in jail.
To: None <netbsd-help@netbsd.org>
From: Mipam <reinoud@ibbnet.org>
List: netbsd-help
Date: 05/22/2000 17:23:08
Hi,
I got problems running bind in a chrooted environment.
I created a dir where it has to be chrooted and created a user
bind and group bind to run named from.
I copied the named.conf and all other dirs and files needed for bind's
config in the jailed dir.
Then i tryed this: (suppose the jail dir is /bind/jail)
named -c /bind/jail/named.conf -u bind -g bind -t /bind/jail
then i get: unable to open /bind/jail/named.conf
When i just type:
named -c /bind/jail/named.conf -u bind -g bind
It goes fine.
But now bind doesnt go to jail after starting.
What am i doing wrong here?
Why cant named by started when adding -t?
Bye,
Mipam.