Problems with chroot()ed environment.

Kevin Darcy kcd at daimlerchrysler.com
Tue Oct 10 21:56:15 UTC 2000


If your chroot dir is /usr/home/dns2 and named-xfer's execution path is
/usr/libexec/named-xfer, then you need to put the named-xfer binary into
/usr/home/dns2/usr/libexec, not /chroot/usr/libexec.


- Kevin

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 .
>
> Thanks,
> Rudy






More information about the bind-users mailing list