Re: pg_dump silently fails - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_dump silently fails
Date
Msg-id 6281.1118774957@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump silently fails  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: pg_dump silently fails
List pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Is SELinux in enforcement mode, and if so does turning it off change
>> things?

> Should we check for a buggy SELinux and report a meaningful error
> message on failure?

How you intend to do that, exactly?  The bug is that it won't let you
write on /dev/tty, which puts a pretty severe crimp on *any* reporting.

(This is not as insane as it sounds: it's a reasonable security
restriction for a daemon process.  The error in older SELinux policy
files is that they think all the Postgres executables are daemons, not
only the postmaster.)

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pg_dump silently fails
Next
From: Brandon Keepers
Date:
Subject: Re: pg_dump silently fails