Bug 790382

Summary: SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/bin/java from 'write' accesses on the None /var/lib/boinc.
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:78b6bf76dfd156333c2a0d73c9bf7beafd20d438db8e9bb053801112535ba337
Fixed In Version: selinux-policy-3.10.0-84.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-22 03:36:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pascal94 2012-02-14 11:51:09 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 'write' accesses on the None /var/lib/boinc.
time:           mar. 14 févr. 2012 12:51:05 CET

description:
:SELinux is preventing /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.1.x86_64/jre/bin/java from 'write' accesses on the None /var/lib/boinc.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that java should be allowed write access on the boinc <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:boinc_var_lib_t:s0
:Target Objects                /var/lib/boinc [ 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           boinc-client-6.12.35-1.r24014svn.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.5-3.fc16.x86_64 #1 SMP Thu
:                              Feb 9 01:24:38 UTC 2012 x86_64 x86_64
:Alert Count                   205
:First Seen                    mar. 14 févr. 2012 12:48:03 CET
:Last Seen                     mar. 14 févr. 2012 12:48:35 CET
:Local ID                      cf8a4a8e-cac3-46f6-8e47-7934ed42fcf1
:
:Raw Audit Messages
:type=AVC msg=audit(1329220115.576:9956): avc:  denied  { write } for  pid=1737 comm="java" name="boinc" dev=sda1 ino=262992 scontext=system_u:system_r:boinc_project_t:s0 tcontext=system_u:object_r:boinc_var_lib_t:s0 tclass=dirnode=(removed) type=SYSCALL msg=audit(1329220115.576:9956): arch=c000003e syscall=21 success=no exit=-13 a0=2ad3c093da80 a1=2 a2=2ad3bd0cc218 a3=f 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,boinc_var_lib_t,None,write
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-03-16 10:50:29 UTC
Fxed in selinux-policy-3.10.0-81.fc16

Comment 2 Fedora Update System 2012-04-18 12:54:14 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:23 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.