Alain Tesio
alain at onesite.org
Thu Dec 2 14:45:22 EST 2004
Have a look at makejail here: http://www.floc.net/makejail/ It's a helper script to setup a chroot, it copies the files it can guess automatically. Recursively, it adds these files: - any list you provide - a library used by an added dynamic executable (uses ldd) - a file accessed by test commands (using strace -e open) There is a sample apache configuration file, add a test command from outside the chroot to access a url using modpython. If you have a running apache in chroot, test it on an empty directory so it doesn't overwrite the existing files and look at what's copied. Alain
|