Re: Using an alternate PGDATA on RHEL4 with SELinux enabled

Поиск
Список
Период
Сортировка
От David Esposito
Тема Re: Using an alternate PGDATA on RHEL4 with SELinux enabled
Дата
Msg-id 200607281203.k6SC3x41032658@nncomail1.nnco.local
обсуждение исходный текст
Ответ на Re: Using an alternate PGDATA on RHEL4 with SELinux enabled  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Using an alternate PGDATA on RHEL4 with SELinux enabled  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
>
> The default selinux policy prevents postgres from writing anywhere
> except under /var/lib/pgsql.  If you want a nondefault PGDATA location
> then you have to tweak the policy.
>

It's not that simple ... if I su to postgres, I can initdb and launch
postmaster in any directory I wish (as long as it has rwx for the postgres
user) ... it's only if I try to do this from the init.d start script that
the problem occurs ...


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: automatic and randomally population
Следующее
От: "Alistair Bayley"
Дата:
Сообщение: Re: What's special about 1916-10-01 02:25:20? Odd jump in internal timestamptz representation