Problems running postgresql

Daniel J Walsh dwalsh at redhat.com
Wed May 18 13:44:28 UTC 2005


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

-- 





More information about the selinux mailing list