Bug 790381 - SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/bin/java from 'read' accesses on the None /anon_hugepage (deleted).
Summary: SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/bin/...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:352b55dbef4a584193c7a902f5b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-14 11:50 UTC by Pascal94
Modified: 2012-04-22 03:36 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.10.0-84.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-22 03:36:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pascal94 2012-02-14 11:50:51 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.5-3.fc16.x86_64
reason:         SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/bin/java from 'read' accesses on the None /anon_hugepage (deleted).
time:           mar. 14 févr. 2012 12:50:43 CET

description:
:SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/bin/java from 'read' accesses on the None /anon_hugepage (deleted).
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that java should be allowed read access on the anon_hugepage (deleted) <Inconnu> 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                system_u:system_r:boinc_project_t:s0
:Target Context                system_u:object_r:hugetlbfs_t:s0
:Target Objects                /anon_hugepage (deleted) [ None ]
:Source                        java
:Source Path                   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre
:                              /bin/java
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           java-1.7.0-openjdk-1.7.0.1-2.0.3.fc16.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-75.fc16.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux CM-ELITE-341 3.2.5-3.fc16.x86_64 #1 SMP Thu
:                              Feb 9 01:24:38 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    mar. 14 févr. 2012 12:47:57 CET
:Last Seen                     mar. 14 févr. 2012 12:47:57 CET
:Local ID                      d0b17d45-8d71-4ce2-867a-458edbc25409
:
:Raw Audit Messages
:type=AVC msg=audit(1329220077.223:70): avc:  denied  { read } for  pid=1737 comm="java" path=2F616E6F6E5F6875676570616765202864656C6574656429 dev=hugetlbfs ino=27731 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:hugetlbfs_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329220077.223:70): arch=c000003e syscall=9 success=no exit=-13 a0=0 a1=200000 a2=3 a3=40022 items=0 ppid=1721 pid=1737 auid=4294967295 uid=993 gid=990 euid=993 suid=993 fsuid=993 egid=990 sgid=990 fsgid=990 tty=(none) ses=4294967295 comm="java" exe="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/bin/java" subj=system_u:system_r:boinc_project_t:s0 key=(null)
:
:
:Hash: java,boinc_project_t,hugetlbfs_t,None,read
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-03-16 10:49:43 UTC
Fixed in selinux-policy-3.10.0-81.fc16

Comment 2 Fedora Update System 2012-04-18 12:54:07 UTC
selinux-policy-3.10.0-84.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-84.fc16

Comment 3 Fedora Update System 2012-04-22 03:36:17 UTC
selinux-policy-3.10.0-84.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.