Bug 795025

Summary: SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java from 'getattr' accesses on the système de fichiers /.
Product: [Fedora] Fedora Reporter: Pascal94 <306power>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4f6f838fd5eaccba659010b933f7400ca748b91be9f662961582c196768123f7
Fixed In Version: selinux-policy-3.10.0-80.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-24 00:40:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Pascal94 2012-02-18 17:53:20 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.6-3.fc16.x86_64
reason:         SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java from 'getattr' accesses on the système de fichiers /.
time:           sam. 18 févr. 2012 18:53:11 CET

description:
:SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre/bin/java from 'getattr' accesses on the système de fichiers /.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that java should be allowed getattr access on the  filesystem 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:fs_t:s0
:Target Objects                / [ filesystem ]
:Source                        java
:Source Path                   /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.3.x86_64/jre
:                              /bin/java
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           java-1.7.0-openjdk-1.7.0.3-2.1.fc16.x86_64
:Target RPM Packages           filesystem-2.4.44-1.fc16.x86_64
: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.6-3.fc16.x86_64 #1 SMP Mon
:                              Feb 13 20:35:42 UTC 2012 x86_64 x86_64
:Alert Count                   30
:First Seen                    mer. 15 févr. 2012 20:37:25 CET
:Last Seen                     sam. 18 févr. 2012 13:30:23 CET
:Local ID                      ceffc392-af68-4a32-bbda-73e80b7fb246
:
:Raw Audit Messages
:type=AVC msg=audit(1329568223.71:98): avc:  denied  { getattr } for  pid=2917 comm="java" name="/" dev=sda1 ino=2 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem
:
:
:type=SYSCALL msg=audit(1329568223.71:98): arch=x86_64 syscall=statfs success=yes exit=0 a0=2ba0696e6abd a1=2ba069291170 a2=fffffffffff50bf0 a3=2ba069291010 items=0 ppid=2484 pid=2917 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.3.x86_64/jre/bin/java subj=system_u:system_r:boinc_project_t:s0 key=(null)
:
:Hash: java,boinc_project_t,fs_t,filesystem,getattr
:
:audit2allow
:
:#============= boinc_project_t ==============
:allow boinc_project_t fs_t:filesystem getattr;
:
:audit2allow -R
:
:#============= boinc_project_t ==============
:allow boinc_project_t fs_t:filesystem getattr;
:

Comment 1 Fedora Update System 2012-02-29 09:35:36 UTC
selinux-policy-3.10.0-78.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-78.fc16

Comment 2 Fedora Update System 2012-03-01 09:26:25 UTC
Package selinux-policy-3.10.0-78.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-78.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-78.fc16
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-03-21 02:28:05 UTC
Package selinux-policy-3.10.0-80.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-80.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-2733/selinux-policy-3.10.0-80.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-03-24 00:40:19 UTC
selinux-policy-3.10.0-80.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.