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 B3B0453456 for ; Fri, 6 May 2005 11:44:23 -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 21451-05 for ; Fri, 6 May 2005 14:44:19 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by svr1.postgresql.org (Postfix) with ESMTP id 3C7445345A for ; Fri, 6 May 2005 11:44:15 -0300 (ADT) Received: from jefftrout.com ([24.61.201.181]) by comcast.net (rwcrmhc12) with SMTP id <2005050614441901400fvcdse>; Fri, 6 May 2005 14:44:20 +0000 Received: (qmail 86402 invoked from network); 6 May 2005 14:46:26 -0000 Received: from waltham-nat.ma.lycos.com (HELO ?10.124.7.97?) (209.202.205.1) by 192.168.0.109 with SMTP; 6 May 2005 14:46:26 -0000 Mime-Version: 1.0 (Apple Message framework v728) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: pgsql-docs@postgresql.org From: Jeff - Subject: SELinux & Redhat Date: Fri, 6 May 2005 10:43:49 -0400 X-Mailer: Apple Mail (2.728) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.178 tagged_above=0 required=5 tests=AWL, RCVD_BY_IP, RCVD_IN_SORBS_DUL X-Spam-Level: X-Archive-Number: 200505/2 X-Sequence-Number: 2967 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 -- Jeff Trout http://www.jefftrout.com/ http://www.stuarthamm.net/