pg_dump fails on 7.4 Postgres
От | Jimmie H. Apsey |
---|---|
Тема | pg_dump fails on 7.4 Postgres |
Дата | |
Msg-id | 4280CE1A.4020204@futuredental.com обсуждение исходный текст |
Ответы |
Re: pg_dump fails on 7.4 Postgres
Re: pg_dump fails on 7.4 Postgres |
Список | pgsql-general |
This may be my second posting but I think I've done it correctly this time. At this point, I am unable to do a pg_dump using our new Rec Hat Enterprise Linux AS 4 version of Postgres which is version 7.4. Here's what I get when I try to do a pg_dump of our database: --------------------------------------------------------------------------------------------------------------------------- [~]$ [ ~]$ /usr/bin/pg_dump dcf_20050404 >& /~/dcf_20050404_`date +%y%m%d`.dmp audit(1115732852.025:0): avc: denied { write } for pid=11023 exe=/usr/bin/pg_dump path=/~/dcf_20050404_050510.dmp dev=sda3 ino=5522308 scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:file_t tclass=file audit(1115732852.025:0): avc: denied { write } for pid=11023 exe=/usr/bin/pg_dump path=//~/dcf_20050404_050510.dmp dev=sda3 ino=5522308 scontext=user_u:system_r:postgresql_t tcontext=user_u:object_r:file_t tclass=file audit(1115732852.028:0): avc: denied { search } for pid=11023 exe=/usr/bin/pg_dump name=/ dev=sda3 ino=2 scontext=user_u:system_r:postgresql_t tcontext=system_u:object_r:file_t tclass=dir [ ~]$ ---------------------------------------------------------------------------------------------------------------------------- Here's Postgres rpm on the machine in question: ---------------------------------------------------------------------------------------------------------------------------- [~]$ rpm -qa | egrep postgres postgresql-tcl-7.4.6-1.RHEL4.2 postgresql-pl-7.4.6-1.RHEL4.2 postgresql-docs-7.4.6-1.RHEL4.2 postgresql-odbc-7.3-8 postgresql-7.4.6-1.RHEL4.2 postgresql-server-7.4.6-1.RHEL4.2 postgresql-test-7.4.6-1.RHEL4.2 postgresql-libs-7.4.6-1.RHEL4.2 postgresql-jdbc-7.4.6-1.RHEL4.2 postgresql-python-7.4.6-1.RHEL4.2 postgresql-contrib-7.4.6-1.RHEL4.2 postgresql-devel-7.4.6-1.RHEL4.2 [~]$ ----------------------------------------------------------------------------------------------------------------------------
В списке pgsql-general по дате отправления: