postgresql postmaster denied write access
Richard E Miles
r.godzilla at comcast.net
Mon May 16 21:14:19 UTC 2005
I am running FC3 with targetted policy. When I try to start the postgresql
server I get avc: denied { write } messages in the system log. ie:
May 16 14:07:23 localhost kernel: audit(1116277643.114:0): avc: denied { write } for pid=13355 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 16 14:07:23 localhost kernel: audit(1116277643.115:0): avc: denied { write } for pid=13355 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 16 14:07:23 localhost last message repeated 34 times
May 16 14:07:23 localhost kernel: audit(1116277643.116:0): avc: denied { write } for pid=13355 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 16 14:07:23 localhost last message repeated 37 times
May 16 14:07:23 localhost kernel: audit(1116277643.117:0): avc: denied { write } for pid=13355 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 16 14:07:23 localhost last message repeated 27 times
May 16 14:07:24 localhost pam_timestamp_check: pam_timestamp: `/' owner UID != 0
Is there a problem with the tagetted policy that prevents me from using postgresql?
Thank you
--
Richard E Miles
Federal Way WA. USA
registered linux user 46097
More information about the selinux
mailing list