Re: SELinux & Redhat

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jeff - <threshar(at)torgo(dot)978(dot)org>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: SELinux & Redhat
Date: 2005-05-06 14:55:40
Message-ID: 200505061455.j46Etej28299@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-performance

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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2005-05-06 15:13:39 Re: SELinux & Redhat
Previous Message Jeff - 2005-05-06 14:43:49 SELinux & Redhat

Browse pgsql-performance by date

  From Date Subject
Next Message Peter Eisentraut 2005-05-06 15:13:39 Re: SELinux & Redhat
Previous Message Jeff - 2005-05-06 14:43:49 SELinux & Redhat