selinux warnings when initializing PostgreSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]