selinux warnings when initializing PostgreSQL
Florin Andrei
florin at andrei.myip.org
Fri Apr 15 05:54:54 UTC 2005
I did this:
/etc/init.d/postgresql stop
rm -rf /var/lib/pgsql/data
/etc/init.d/postgresql start
When PgSQL was launched, i got this:
Apr 14 22:47:52 demo kernel: audit(1113544072.328:0): avc: denied
{ read } for pid=3042 exe=/bin/cp name=config dev=hda2 ino=1212848
scontext=root:system_r:postgresql_t
tcontext=user_u:object_r:selinux_config_t tclass=file
Apr 14 22:47:52 demo kernel: audit(1113544072.334:0): avc: denied
{ getattr } for pid=3042 exe=/bin/cp path=/etc/selinux/config dev=hda2
ino=1212848 scontext=root:system_r:postgresql_t
tcontext=user_u:object_r:selinux_config_t tclass=file
# rpm -q selinux-policy-targeted
selinux-policy-targeted-1.23.10-5
# rpm -q postgresql
postgresql-8.0.2-2
SELinux is on permissive setting.
--
Florin Andrei
http://florin.myip.org/
More information about the test
mailing list