X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id CF6D253338 for ; Fri, 6 May 2005 11:55:46 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 23986-04 for ; Fri, 6 May 2005 14:55:37 +0000 (GMT) Received: from candle.pha.pa.us (candle.pha.pa.us [64.139.89.126]) by svr1.postgresql.org (Postfix) with ESMTP id 48A07533F1 for ; Fri, 6 May 2005 11:55:36 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id j46Etej28299; Fri, 6 May 2005 10:55:40 -0400 (EDT) From: Bruce Momjian Message-Id: <200505061455.j46Etej28299@candle.pha.pa.us> Subject: Re: SELinux & Redhat In-Reply-To: To: Jeff - Date: Fri, 6 May 2005 10:55:40 -0400 (EDT) Cc: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/3 X-Sequence-Number: 2968 Jeff - wrote: > I think we should put some notes about SELinux causing issues with > pgsql in the OS notes or FAQ. > > Myself and a few coworkers just spent a few hours tracking down why > pg_dump would produce no output. We'd fire it up in strace and we'd > see all the successful write calls, but not output. > > We copied pg_dump from another machine and it worked fine, and that > machine was running the same OS & pg rpms. > > Eventually we found it was SELinux was preventing pg_dump from > producing output. > > Any thoughts? I could write up a short blurb but I'm not terribly > familiar with selinux. we just disabled the whole thing to make it work. > > For the record: > CentOS 4.0 > postgresql-8.0.2-1PGDG.i686.rpm (and associated) rpms from > postgresql.org's ftp server A blurb about what? No one else has reported such a problem so we have no reason to assume it isn't a misconfiguration on your end. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073