SELinux & Redhat

Поиск
Список
Период
Сортировка
От Jeff -
Тема SELinux & Redhat
Дата
Msg-id BCAFEEBE-43EC-446F-95CF-A920CD43FE36@torgo.978.org
обсуждение исходный текст
Ответы Re: SELinux & Redhat  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: SELinux & Redhat  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-docs
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

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Storage requirements for NUMERIC
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: SELinux & Redhat