pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jeff - <threshar@torgo.978.org>
Cc: pgsql-docs@postgresql.org
Subject: Re: SELinux & Redhat
Date: Fri, 6 May 2005 10:55:40 -0400 (EDT)
Message-ID: <200505061455.j46Etej28299@candle.pha.pa.us> (raw)
In-Reply-To: <BCAFEEBE-43EC-446F-95CF-A920CD43FE36@torgo.978.org>

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



view thread (11+ messages)  latest in thread

Message-ID: <200505061455.j46Etej28299@candle.pha.pa.us>
Permalink:  ../200505061455.j46Etej28299@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200505061455.j46Etej28299@candle.pha.pa.us

 · 

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: pgsql-performance@postgresql.org
  Cc: pgman@candle.pha.pa.us, threshar@torgo.978.org, pgsql-docs@postgresql.org
  Subject: Re: SELinux & Redhat
  In-Reply-To: <200505061455.j46Etej28299@candle.pha.pa.us>

* 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