Re: BUG #1670: pg_dump fails on CentOS 4

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Josh" <josh(at)globalherald(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1670: pg_dump fails on CentOS 4
Date: 2005-05-16 16:52:24
Message-ID: 18775.1116262344@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Josh" <josh(at)globalherald(dot)net> writes:
> The following bug has been logged online:
> pg_dump, as packaged in postgresql-8.0.3-1PGDG.i686.rpm, fails with no
> output whatsoever when run from a terminal window:

> [josh(at)localhost ~]$ pg_dump -U username database > backup.sql

Try turning off SELinux enforcement, or better update the selinux
policy package and do a restorecon on all of /usr/bin. The earlier
releases of selinux-policy-targeted prevent pg_dump from writing on
/dev/tty :-( ... which makes it a bit hard to emit error messages...

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-05-16 17:46:11 Re: BUG #1670: pg_dump fails on CentOS 4
Previous Message Gregory L Miller-Kramer 2005-05-16 13:16:34 BUG #1672: Postgres 8.0 doesn't return errors.