Page 1 of 1

Selinux prevents access to files in enforcing mode

Posted: 19 May 2015, 15:01
by alexesys
Hi, all
Selinux prevents access to files in enforcing mode
Anyone has dealt with madsonic running on centos?
error:
type=SYSCALL msg=audit(1431728713.841:307280): arch=c000003e syscall=87 success=no exit=-13 a0=7f822c276640 a1=7f822c154a58 a2=7f8232863e40 a3=7f8232876da0 items=0 ppid=527 pid=4645 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="java" exe="/usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java" subj=system_u:system_r:svirt_lxc_net_t:s0:c558,c652 key=(null)
type=AVC msg=audit(1431728713.841:307281): avc: denied { unlink } for pid=4645 comm="java" name="061.png" dev="sda1" ino=105383994 scontext=system_u:system_r:svirt_lxc_net_t:s0:c558,c652 tcontext=system_u:object_r:httpd_sys_content_t:s0 tclass=file

I have tried setroubleshooting
grep java /var/log/audit/audit.log | audit2allow -M javapol ....etc no luck

Suggestions are appreciated

Re: Selinux prevents access to files in enforcing mode

Posted: 20 May 2015, 00:32
by gurutech
Just disable selinux. It's easier that way!

Or set it to permissive mode.