Is chroot really necessary?

Chris Pile cpile at snoogans.co.uk
Thu May 17 16:13:53 UTC 2001


BIND 8/9 isn't too difficult to get working inside a chroot.  Just try
to compile it statically:

tar -xzvf bind-9.1.2.tar.gz
cd bind-9.1.2
CFLAGS='-g -O --static'
export CFLAGS
./configure
make

Then you don't need any libraries etc.

Also have a look at FreeBSD's jail.  Even better than chroot.
http://docs.freebsd.org/44doc/papers/jail/jail.html

Chris.


More information about the bind-users mailing list