pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John R Pierce <pierce@hogranch.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #11365: denied apache cgi connect
Date: Mon, 08 Sep 2014 02:24:26 -0400
Message-ID: <11376.1410157466@sss.pgh.pa.us> (raw)
In-Reply-To: <540D475C.5010808@hogranch.com>
References: <20140907010508.2923.21990@wrigleys.postgresql.org>
	<6186.1410107784@sss.pgh.pa.us>
	<540CDA93.1040301@hogranch.com>
	<540D3865.1050102@wi3ck.info>
	<540D475C.5010808@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

John R Pierce <pierce@hogranch.com> writes:
> On 9/7/2014 10:02 PM, Jan Wieck wrote:
>> So please be more precise in what exactly that special RPM should set 
>> or enable.

> this RPM would be called something like 
> postgresqlXY-apache-selinuxpolicy, and if installed, it would add the 
> selinux policy that allows apache to connect to postgres version X.Y as 
> installed from the same repository.  if uninstalled, it would remove 
> that policy.

Hm ... would that not be in direct conflict with existing policy
variables?

I don't actually know a lot about what the standard Red Hat selinux
policy does in this area.  If it were seriously broken, I'd probably
have heard more about it during the years I worked there.  Not that
that's much of an argument, but it's some evidence for "there's no
fire here, only smoke".  Anyway, I remain of the opinion that it'd
be best to press Red Hat's selinux people to fix/clarify/document
their policy's behavior for apache-to-database connections.  Trying
to override the system policy with drive-by updates seems like a recipe
for disaster.

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (8+ messages)  latest in thread

Message-ID: <11376.1410157466@sss.pgh.pa.us>
Permalink:  ../11376.1410157466@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/11376.1410157466@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pierce@hogranch.com
  Subject: Re: BUG #11365: denied apache cgi connect
  In-Reply-To: <11376.1410157466@sss.pgh.pa.us>
  References: <20140907010508.2923.21990@wrigleys.postgresql.org> <6186.1410107784@sss.pgh.pa.us> <540CDA93.1040301@hogranch.com> <540D3865.1050102@wi3ck.info> <540D475C.5010808@hogranch.com> <11376.1410157466@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox