> -----Original Message-----
> From: Tom Lane [mailto:[EMAIL PROTECTED] 
> 
> 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 ...


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to