Problems running postgresql

Richard E Miles r.godzilla at comcast.net
Fri May 13 20:52:11 UTC 2005


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.
-- 
Richard E Miles
Federal Way WA. USA
registered linux user 46097




More information about the fedora-selinux-list mailing list