From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Kathy Boyle" <KBoyle(at)nettec(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: initdb: failed |
Date: | 2005-05-17 17:53:03 |
Message-ID: | 777.1116352383@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Kathy Boyle" <KBoyle(at)nettec(dot)com> writes:
> We are running Postgresql 7.4.7 on Redhat EL 4. Running /usr/bin/initdb
> command as user postgres fails before creating the views such as pg_user
> and pg_rules.
This is a known problem caused by SELinux security enforcement. The
quick and dirty solution is to do setenforce 0, at least for long enough
to run initdb. But I'd recommend updating to the most recent available
postgresql and selinux-policy-targeted RPMs, which should resolve the
issue properly. (You may need to run restorecon on the /usr/bin and
/var/lib/pgsql trees after updating; I'm not sure that simply updating
the policy RPM will adjust the file security labels correctly.)
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-05-17 17:56:26 | Re: Cursor not getting all rows |
Previous Message | Joseph Shraibman | 2005-05-17 17:49:26 | Re: Cursor not getting all rows |