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