avc denied from postgresql

Richard Hally rhallyx at mindspring.com
Tue Jun 15 09:20:31 UTC 2004


During bootup the postgresql server fails to start and produced the 
following avc denied message:

Jun 15 05:09:12 new2 su(pam_unix)[2414]: session opened for user 
postgres by (uid=0)
Jun 15 05:09:13 new2 kernel: audit(1087290553.569:0): avc:  denied  { 
write } for  pid=2445 exe=/usr/bin/postgres name=data dev=hda2 
ino=788097 scontext=user_u:user_r:user_t 
tcontext=system_u:object_r:var_lib_t tclass=dir
Jun 15 05:09:14 new2 su(pam_unix)[2414]: session closed for user postgres
Jun 15 05:09:15 new2 postgresql: Starting postgresql service:  failed

This is in enforcing mode with the strict policy 
selinux-policy-strict-1.13.4-5
Thanks for any help,
Richard Hally



More information about the fedora-selinux-list mailing list