Problems with chroot()ed environment.

Ralf Hildebrandt Ralf.Hildebrandt at innominate.de
Wed Oct 11 07:22:25 UTC 2000


On Tue, Oct 10, 2000 at 05:23:58PM -0400, Rudy wrote:
> 
> Hello all,
> 
> Im getting the following error while loading secondary zones in the
> chroot() jail even though named-xfer has been placed in
> /chroot/usr/libexec/
> 
> "can't exec /usr/libexec/named-xfer: No such file or directory"
> 
> Im running BIND 8.2.2 PL5 on a 4.1 BSDI BSD/OS machine. Ive changed the
> following line in port/bsdos/Makefile.set to statically compile the
> binaries. 'CDEBUG=-O -static'

:)
 
> And this is how the daemon is started in the chroot()ed environment.
> 
> cd /usr/home/dns2
> ../usr/sbin/named -u dns2 -g named -t .

/usr/home/dns2 is not equal to /chroot !



More information about the bind-users mailing list