Re: pg_dump silently fails

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Brandon Keepers <brandon(at)opensoul(dot)org>, Devrim GUNDUZ <devrim(at)gunduz(dot)org>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_dump silently fails
Date: 2005-06-14 20:25:34
Message-ID: 200506142025.j5EKPYw11634@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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.)

Throw a message to stderr saying something about SELinux.

--
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-bugs by date

  From Date Subject
Next Message Tom Lane 2005-06-14 20:48:44 Re: pg_dump silently fails
Previous Message Brandon Keepers 2005-06-14 19:46:18 Re: pg_dump silently fails