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: Mon, 08 Sep 2014 00:00:50 -0700
Message-ID: <540D5422.6020207@hogranch.com> (raw)
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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 9/7/2014 11:24 PM, Tom Lane wrote:
> Hm ... would that not be in direct conflict with existing policy
> variables?

good questions, and I'm not versed enough in the specifics to be able to 
answer.  indeed, I have a rather shaky and sketchy understanding of the 
details of selinux...    in my development lab environment, too often 
the first problem its caused, I've had to shut it off so my developers 
could get their jobs done.   our software is only used inhouse, and 
manufacturing operations has not been remotely interested in dealing 
with selinux.   Even if I carefully supported it with my group's stuff, 
they'd still be shutting it off for other reasons, beyond my control.


> 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.

presumably other add-on packages need specific policies for themselves 
to operate in a selinux environment?  I wonder how they do this.    I'm 
envisioning this policy we add as something that doesn't conflict with 
existing policies, just adds the minimal magic to make it play nicely.



-- 
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)

Message-ID: <540D5422.6020207@hogranch.com>
Permalink:  ../540D5422.6020207@hogranch.com/
Also on:    postgresql.org/message-id/540D5422.6020207@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: <540D5422.6020207@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> <11376.1410157466@sss.pgh.pa.us> <540D5422.6020207@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