Selinux prevents access to files in enforcing mode

Need help? Post your questions here.
alexesys
Posts: 2
Joined: 26 Jun 2014, 06:00
Has thanked: 0
Been thanked: 0

Selinux prevents access to files in enforcing mode

Unread post 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
gurutech
Contributor
Contributor
Posts: 323
Joined: 02 Jan 2013, 04:56
Has thanked: 11 times
Been thanked: 105 times

Re: Selinux prevents access to files in enforcing mode

Unread post by gurutech »

Just disable selinux. It's easier that way!

Or set it to permissive mode.
Post Reply