Subject: Re: bind problems in jail.
To: None <reinoud@ibbnet.org>
From: Willem Brown <willem@brwn.org>
List: netbsd-help
Date: 05/22/2000 17:38:51
Hi,
Just a thought, shouldn't the location of the config file
be specified relative to the jail.
named -c named.conf -u bind -g bind -t /bin/jail
Regards
Willem Brown
Mipam wrote:
>
> 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.
--
|--------------LINUX & *BSD, the CHOICE is yours--------------|