Bug 783037

Summary: SELinux is preventing /usr/bin/boinc_client from 'read' accesses on the fifo_file fifo_file.
Product: [Fedora] Fedora Reporter: shakka.by
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:44e0ff03dcab2fcf472eaf887bc65182eaffef62efccf576d6cde17321e32cc5
Fixed In Version: selinux-policy-3.9.16-51.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-22 02:01:26 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 shakka.by 2012-01-19 06:01:08 UTC
SELinux is preventing /usr/bin/boinc_client from 'read' accesses on the fifo_file fifo_file.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that boinc_client should be allowed read access on the fifo_file fifo_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 boinc_client /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:boinc_t:s0
Target Context                system_u:system_r:boinc_t:s0
Target Objects                fifo_file [ fifo_file ]
Source                        boinc_client
Source Path                   /usr/bin/boinc_client
Port                          <Inconnu>
Host                          (removed)
Source RPM Packages           boinc-client-6.10.58-3.r22930svn.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-50.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.41.9-1.fc15.x86_64
                              #1 SMP Fri Jan 13 16:46:51 UTC 2012 x86_64 x86_64
Alert Count                   136
First Seen                    jeu. 19 janv. 2012 00:47:16 CET
Last Seen                     jeu. 19 janv. 2012 00:47:57 CET
Local ID                      98eee9f0-c193-48da-83d6-8f0060a89197

Raw Audit Messages
type=AVC msg=audit(1326930477.180:16180): avc:  denied  { read } for  pid=8449 comm="boinc_client" path="pipe:[93350]" dev=pipefs ino=93350 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:system_r:boinc_t:s0 tclass=fifo_file


type=SYSCALL msg=audit(1326930477.180:16180): arch=x86_64 syscall=read success=no exit=EACCES a0=4 a1=7f745c8a5000 a2=2000 a3=7fff4315b0b0 items=0 ppid=1 pid=8449 auid=4294967295 uid=492 gid=484 euid=492 suid=492 fsuid=492 egid=484 sgid=484 fsgid=484 tty=(none) ses=4294967295 comm=boinc_client exe=/usr/bin/boinc_client subj=system_u:system_r:boinc_t:s0 key=(null)

Hash: boinc_client,boinc_t,boinc_t,fifo_file,read

audit2allow

#============= boinc_t ==============
allow boinc_t self:fifo_file read;

audit2allow -R

#============= boinc_t ==============
allow boinc_t self:fifo_file read;

Comment 1 Miroslav Grepl 2012-01-19 09:45:25 UTC
Fixed in selinux-policy-3.9.16-51.fc15

Comment 2 Fedora Update System 2012-01-19 10:25:00 UTC
selinux-policy-3.9.16-51.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.16-51.fc15

Comment 3 Fedora Update System 2012-01-19 21:58:56 UTC
Package selinux-policy-3.9.16-51.fc15:
* should fix your issue,
* was pushed to the Fedora 15 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.9.16-51.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0704/selinux-policy-3.9.16-51.fc15
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2012-02-22 02:01:26 UTC
selinux-policy-3.9.16-51.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.