Problems running postgresql
Robert L Cochran
cochranb at speakeasy.net
Wed May 18 22:12:08 UTC 2005
Daniel J Walsh wrote:
> Richard E Miles wrote:
>
>> I have been trying to start up the postgresql postmaster server to a
>> database
>> which have all failed. The following are a list of avc: denied
>> messages from
>> /var/log/messages:
>>
>> May 13 13:20:32 localhost kernel: audit(1116015632.155:0): avc:
>> denied { write } for pid=16659 exe=/usr/bin/postgres name=pgdb
>> dev=hda2 ino=6471728 scontext=user_u:system_r:postgresql_t
>> tcontext=system_u:object_r:usr_t tclass=dir
>> May 13 13:20:32 localhost last message repeated 7 times
>> May 13 13:20:32 localhost kernel: audit(1116015632.156:0): avc:
>> denied { write } for pid=16659 exe=/usr/bin/postgres name=pgdb
>> dev=hda2 ino=6471728 scontext=user_u:system_r:postgresql_t
>> tcontext=system_u:object_r:usr_t tclass=dir
>> May 13 13:20:32 localhost last message repeated 3 times
>> May 13 13:20:32 localhost kernel: audit(1116015632.157:0): avc:
>> denied { write } for pid=16659 exe=/usr/bin/postgres name=pgdb
>> dev=hda2 ino=6471728 scontext=user_u:system_r:postgresql_t
>> tcontext=system_u:object_r:usr_t tclass=dir
>> May 13 13:20:32 localhost last message repeated 32 times
>> May 13 13:20:32 localhost kernel: audit(1116015632.158:0): avc:
>> denied { write } for pid=16659 exe=/usr/bin/postgres name=pgdb
>> dev=hda2 ino=6471728 scontext=user_u:system_r:postgresql_t
>> tcontext=system_u:object_r:usr_t tclass=dir
>> May 13 13:20:32 localhost last message repeated 34 times
>> May 13 13:20:32 localhost kernel: audit(1116015632.159:0): avc:
>> denied { write } for pid=16659 exe=/usr/bin/postgres name=pgdb
>> dev=hda2 ino=6471728 scontext=user_u:system_r:postgresql_t
>> tcontext=system_u:object_r:usr_t tclass=dir
>>
>> Why am I getting write denials? I am running FC3 with targetted policy.
>>
>>
> What file is pgdb?
>
> Dan
>
I have postgresql 8.0.2 myself and don't have a file named 'pgdb'.
Interesting.
Bob Cochran
More information about the fedora-selinux-list
mailing list