Re: pg_dump silently fails - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_dump silently fails
Date
Msg-id 14049.1118782265@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump silently fails  (Brandon Keepers <brandon@opensoul.org>)
List pgsql-bugs
Brandon Keepers <brandon@opensoul.org> writes:
> Yup, that was it.  If you disable SELinux, everything works. I tried
> just commenting out line 732
> in /etc/selinux/targeted/contexts/files/file_contexts and that didn't
> work.  Anyone know how to correct this?

I don't know very much about SELinux, but I think the stuff under
/etc/selinux is in the nature of "source code", and if you edit it
you have to do something to compile it and then load the compiled
representation into the kernel.

However, the real answer for your problem is to update to a later
version of selinux-policy-targeted.  Red Hat fixed this awhile ago...

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dump silently fails
Next
From: Ennio-Sr
Date:
Subject: Re: pg_dump silently fails