mod_chroot has been working fine for me since a few months ago. I was using Apache 2.0 with mod_chroot, and now is using Apache 2.2 with mod_chroot without any issues. Reproducible: Always Steps to Reproduce: 1. emerge -av mod_chroot 2. add "LoadFile /lib/libgcc_s.so.1" to 15_mod_chroot.conf and "-D CHROOT" to conf.d/apache2 3. copy required files (libgcc_s.so.1, /etc/hosts, /etc/mime.types) to chroot folder 5. restart apache 4. edit apache's init script to use the pid from chroot folder
mod_chroot-0.5 has ~amd64
hmm.... mod_chroot in portage still doesn't have ~amd64 as of this moment.