Hello, eventually I found out that I missed the postgres binary and related libraries in the chroot environment.
Below are the dependencies I used to get it working: /dev � - random (faked) � /var/run � - ld.so.hints /usr/bin � - perl /usr/lib � - libc.so.96.2 � - libcrypto.so.50.0 � - libexecinfo.so.3.0 � - libm.so.10.1 � - libperl.so.22.0 � - libpthread.so.26.2 � - libssl.so.53.0 � - libz.so.7.0 � /usr/local/bin � - postgres /usr/local/lib � - libiconv.so.7.1 � - liblzma.so.2.1 � - libpq.so.6.13 � - libxml2.so.18.0 Please note that I had to "fake" /dev/random, as I couldn't figure out how to set such a device in the chroot environment. Above dependencies are in addition to all the Perl libraries which Bugzilla installs as part of the installation procedure, so it is necessary to run the checksetup.pl and install-module.pl scripts as described here: https://bugzilla.readthedocs.io/en/latest/installing/linux.html I will do more testing to see if anything missing pops up... Thanks,Werner On 3/18/23 07:02, Stuart Henderson wrote: On 2023-03-17, Michael Hekeler <mich...@hekeler.com> wrote: If you really want to run bugzilla as cgi application with slowcgi(8) then you have to copy the required perl modules in your chroot. Or use slowcgi -p / to disable chroot. However since bugzilla is ultimately a cgi application you can deploy it via fastcgi which is supported by httpd(8) natively. afaik it doesn't support fastcgi, upstream suggestion is to use fcgiwrap which does basically the same as slowcgi.