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

On 9/7/2014 10:02 PM, Jan Wieck wrote:
>> the PGDG packagers probably should include some level of database
>> selinux policy settings.  maybe a special RPM that sets the apache
>> database policy or something.
>

I probably should have said 'could' instead of 'probably should'.

> "Some special RPM" to do what exactly? Just because someone has 
> PostgreSQL and Apache installed on their system doesn't mean they 
> wanted httpd to be able to try to connect to their MySQL server on 
> another machine in the network. Precisely that is what 
> httpd_can_network_connect_db would allow (as a side effect).
>
> 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.


-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast



-- 
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: <540D475C.5010808@hogranch.com>
Permalink:  ../540D475C.5010808@hogranch.com/
Also on:    postgresql.org/message-id/540D475C.5010808@hogranch.com

 · 

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: pierce@hogranch.com
  Subject: Re: BUG #11365: denied apache cgi connect
  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>

* 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