Hide Forgot
SELinux is preventing /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java from 'getattr' accesses on the file /proc/<pid>/net/if_inet6. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that java should be allowed getattr access on the if_inet6 file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep java /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:unconfined_r:mock_t:s0-s0:c0.c1023 Target Context system_u:object_r:proc_net_t:s0 Target Objects /proc/<pid>/net/if_inet6 [ file ] Source java Source Path /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin /java Port <Neznámé> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.9.16-6.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38-1.fc15.x86_64 #1 SMP Tue Mar 15 05:29:00 UTC 2011 x86_64 x86_64 Alert Count 3 First Seen Pá 1. duben 2011, 13:40:29 CEST Last Seen Pá 1. duben 2011, 14:01:05 CEST Local ID faabdf77-516e-4c24-8299-c5a6d343c0fa Raw Audit Messages type=AVC msg=audit(1301659265.300:151): avc: denied { getattr } for pid=7133 comm="java" path="/proc/7101/net/if_inet6" dev=proc ino=4026532158 scontext=unconfined_u:unconfined_r:mock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_net_t:s0 tclass=file type=SYSCALL msg=audit(1301659265.300:151): arch=x86_64 syscall=fstat success=yes exit=0 a0=16 a1=7f17fd67e640 a2=7f17fd67e640 a3=7f17fd67e530 items=0 ppid=7100 pid=7133 auid=500 uid=500 gid=488 euid=500 suid=500 fsuid=500 egid=488 sgid=488 fsgid=488 tty=pts0 ses=1 comm=java exe=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java subj=unconfined_u:unconfined_r:mock_t:s0-s0:c0.c1023 key=(null) Hash: java,mock_t,proc_net_t,file,getattr audit2allow #============= mock_t ============== allow mock_t proc_net_t:file getattr; audit2allow -R #============= mock_t ============== allow mock_t proc_net_t:file getattr;
Fixed in selinux-policy-3.9.16-10.fc15
*** Bug 692855 has been marked as a duplicate of this bug. ***