public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jeff - <[email protected]>
To: [email protected]
Subject: SELinux & Redhat
Date: Fri, 6 May 2005 10:43:49 -0400
Message-ID: <[email protected]> (raw)

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 <[email protected]>
http://www.jefftrout.com/
http://www.stuarthamm.net/







view thread (24+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: SELinux & Redhat
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox