Package: libapache2-mod-chroot
Version: 0.5-5
Severity: normal

I'm using a chroot apache2.2 web server with libapache2-mod-chroot but i obtain 
this result in php log when i try to connect to my postgresql server with 
php5-pgsql ssl connection:
PHP Warning:  pg_connect() [<a 
href='function.pg-connect'>function.pg-connect</a>]: Unable to connect to 
PostgreSQL server: SSL SYSCALL error: Success in /www/test.hpu on line 3 

If i change for the same configuration without chroot, the connection is ok
If i use my script test.hpu with php5-cli, ssl and no-ssl connection are working
 


On the web server:
ii  libapache2-mod-php5               5.2.0-8
ii  php5                              5.2.0-8
ii  php5-cli                          5.2.0-8
ii  php5-common                       5.2.0-8
ii  php5-curl                         5.2.0-8
ii  php5-gd                           5.2.0-8                         GD
ii  php5-mcrypt                       5.2.0-8
ii  php5-pgsql                        5.2.0-8
ii  php5-suhosin                      0.9.12-1  


On the psql server :
postgresql-8.1                          8.1.4-6~bpo.1
postgresql-client-8.1                   8.1.4-6~bpo.1
postgresql-client-common                59~bpo.1
postgresql-common                       59~bpo.1   


NB: web server and psql server are using grsecurity kernel patch, all
chroot protections are activated 



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2-grsec
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libapache2-mod-chroot depends on:
ii  apache2.2-common             2.2.3-3.2   Next generation, scalable, extenda
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  mod-chroot-common            0.5-5       run Apache in a secure chroot envi

libapache2-mod-chroot recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to