That would be nice to have as a built-in functionality, but apparently
it differs from mod_chroot.

I have added "ChrootDir /var/www" to /etc/apache2/conf.d/my_defaults,
but it seems like the fastcgi processes now get started outside of the
chroot / before Apache chroots:

I am getting the following error (only /var/www/usr/lib/libc-client.so.2007e 
exists, not /usr/lib/libc-client.so.2007e):
/var/www/bin/php4-fcgi: error while loading shared libraries: 
libc-client.so.2007e: cannot open shared object file: No such file or directory

Apart from that there appears to be another problem, fastcgi processes
(PHP) return "Service Temporarily Unavailable", while requests to normal
resources (image) work fine.

This is likely also related to the order in which chrooting and spawning
the fastcgi processes happens.

I am using mod_fastcgi.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/687275

Title:
  Fix "graceful" action in init script when mod_chroot is enabled

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to