Re: pg_dump silently fails

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_dump silently fails
Дата
Msg-id 200506142025.j5EKPYw11634@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: pg_dump silently fails  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_dump silently fails  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane wrote:
> 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.)

Throw a message to stderr saying something about SELinux.

--
  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

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Brandon Keepers
Дата:
Сообщение: Re: pg_dump silently fails
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump silently fails