Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XQswo-0007yy-6P for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Sep 2014 07:01:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XQswn-00039d-Lo for pgsql-bugs@arkaria.postgresql.org; Mon, 08 Sep 2014 07:01:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XQswm-00037s-G9 for pgsql-bugs@postgresql.org; Mon, 08 Sep 2014 07:01:08 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XQswi-0004a0-6R for pgsql-bugs@postgresql.org; Mon, 08 Sep 2014 07:01:07 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id s8870tZ06785 for ; Mon, 8 Sep 2014 00:00:55 -0700 Message-ID: <540D5422.6020207@hogranch.com> Date: Mon, 08 Sep 2014 00:00:50 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #11365: denied apache cgi connect 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> In-Reply-To: <11376.1410157466@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -3.6 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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