| Summary: | SELinux is preventing /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java from 'getattr' accesses on the file /proc/<pid>/net/if_inet6. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matěj Cepl <mcepl> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dwalsh, mcepl, mcepl, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:f9ebc4357dc17271da09896c2439b0982d63bfef430431aa026625d2c12b9464 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-04 15:03:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Fixed in selinux-policy-3.9.13-10.fc15 |
SELinux is preventing /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/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:mozilla_plugin_t:s0-s0:c 0.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/jre /bin/java Port <Neznámé> Host (removed) Source RPM Packages java-1.6.0-openjdk-1.6.0.0-51.1.9.5.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.13-9.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.38-0.rc3.git2.1.fc15.x86_64 #1 SMP Thu Feb 3 14:50:59 UTC 2011 x86_64 x86_64 Alert Count 1 First Seen Pá 4. únor 2011, 02:16:36 CET Last Seen Pá 4. únor 2011, 02:16:36 CET Local ID a6b64f5e-03ae-4106-bc36-031a47210d3c Raw Audit Messages type=AVC msg=audit(1296782196.16:991): avc: denied { getattr } for pid=13142 comm="java" path="/proc/13139/net/if_inet6" dev=proc ino=4026532205 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:proc_net_t:s0 tclass=file type=SYSCALL msg=audit(1296782196.16:991): arch=x86_64 syscall=fstat success=yes exit=0 a0=f a1=7ff550424440 a2=7ff550424440 a3=7ff550424330 items=0 ppid=13132 pid=13142 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=15 comm=java exe=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null) Hash: java,mozilla_plugin_t,proc_net_t,file,getattr audit2allow #============= mozilla_plugin_t ============== allow mozilla_plugin_t proc_net_t:file getattr; audit2allow -R #============= mozilla_plugin_t ============== allow mozilla_plugin_t proc_net_t:file getattr;