BIND 9 in a chroot environment

Peter Clark pclark at
Sat Mar 10 17:18:14 MST 2012



I'm running Fedora 16 and as with Fedora for quite a while it runs BIND in a
chroot environment. I'm curious if there's any new documentation or
suggestions on how to configure this properly?  It seems that the libraries requires aren't available to it in a chroot environment:


Mar 10 19:04:41 c3po named[13784]: dlz_dlopen failed to open library
'/usr/local/samba/lib/bind9/' - cannot open shared
object file: No such file or directory is in /lib64. Mounting /lib64 into /var/named/chroot/lib64
makes this problem go away but I'm sure there's a more elegant solution than
mounting a whole bunch of system directories into the chroot jail?


Thanks in advance,




More information about the samba-technical mailing list