Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-25 Thread Werner Boninsegna
Hello Stuart, your suggestion worked perfectly, thanks a lot! Werner On 3/25/23 17:18, Stuart Henderson wrote: On 2023-03-24, Werner Boninsegna wrote: Hello, fake /dev/random means I created a file with a string of text such as "1234567890". This was a workaround t

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-25 Thread Stuart Henderson
On 2023-03-24, Werner Boninsegna wrote: > Hello, > > fake /dev/random means I created a file with a string of text such as > "1234567890". This was a workaround to get the application running. Yes that's as bad as I thought. While most things in OpenBSD itself don't use /dev/random or /dev/urand

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-24 Thread Omar Polo
On 2023/03/24 18:06:03 +0800, Werner Boninsegna wrote: > Hello, > > fake /dev/random means I created a file with a string of text such as > "1234567890". This was a workaround to get the application running. ... > Your suggestion is to chroot into /var/www and run "MAKEDEV random" ? If you re

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-24 Thread Werner Boninsegna
Hello, fake /dev/random means I created a file with a string of text such as "1234567890". This was a workaround to get the application running. Your suggestion is to chroot into /var/www and run "MAKEDEV random" ? I will give it a try. Werner On 3/24/2023 3:27 PM, Stuart Henderson wrote:

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-24 Thread Stuart Henderson
On 2023-03-23, Werner Boninsegna wrote: > 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. I have no idea what a "fake" /dev/random looks like but that sounds a lot less safe than running the cgi script outside the chroot

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-23 Thread Werner Boninsegna
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 � - libexe

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-19 Thread Michael Hekeler
Am 17.03.23 23:02 schrieb Stuart Henderson: > On 2023-03-17, Michael Hekeler 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 bugzill

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-17 Thread Stuart Henderson
On 2023-03-17, Michael Hekeler 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

Re: Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-17 Thread Michael Hekeler
Am 12.03.23 00:46 schrieb Werner Boninsegna: > Hello, > > I wonder if anybody is running Bugzilla in httpd? > > I have completed the setup and run the test scripts successfully, however > when trying to access it from the browser, I get below error: > > 'Pg' is not a valid choice for $db_driver

Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-15 Thread Daniele B.
Werner Boninsegna : > I wonder if anybody is running Bugzilla in httpd? > > I have completed the setup and run the test scripts successfully, however > when trying to access it from the browser, I get below error: > > 'Pg' is not a valid choice for $db_driver in  localconfig: > Can't load > '/u

Running Bugzilla in httpd - 'Pg' is not a valid choice for $db_driver in localconfig

2023-03-11 Thread Werner Boninsegna
Hello, I wonder if anybody is running Bugzilla in httpd? I have completed the setup and run the test scripts successfully, however when trying to access it from the browser, I get below error: 'Pg' is not a valid choice for $db_driver in localconfig: Can't load '/usr/local/libdata/perl5/site_p