BUG #11365: denied apache cgi connect

From: chenchuanling(at)msn(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #11365: denied apache cgi connect
Date: 2014-09-07 01:05:08
Message-ID: 20140907010508.2923.21990@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 11365
Logged by: chenchunling
Email address: chenchuanling(at)msn(dot)com
PostgreSQL version: 9.3.5
Operating system: centos6.3
Description:

Centos 6.3 integrated 8.4.11 version no problem,but upgrade to version 9.3.5
apache cgi connection denied.Must be set: setenforce 0, such ability can
be.

selinux log:
Sep 6 20:39:55 test kernel: type=1400 audit(1410050395.142:792): avc:
denied { connectto } for pid=9559 comm="servergi"
path="/tmp/.s.PGSQL.5432"
scontext=unconfined_u:system_r:httpd_sys_script_t:s0
tcontext=unconfined_u:system_r:initrc_t:s0 tclass=unix_stream_socket
Sep 6 20:39:55 test kernel: type=1400 audit(1410050395.144:793): avc:
denied { connectto } for pid=9559 comm="servergi"
path="/tmp/.s.PGSQL.5432"
scontext=unconfined_u:system_r:httpd_sys_script_t:s0
tcontext=unconfined_u:system_r:initrc_t:s0 tclass=unix_stream_socket

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2014-09-07 01:42:45 Re: Re: BUG #10329: Could not read block 0 in file "base/56100265/57047884": read only 0 of 8192 bytes
Previous Message Andres Freund 2014-09-06 20:34:10 Re: BUG #11335: an invalid prepare statement causes crash at log_statement = 'mod' or 'ddl'.