Bug 770850

Summary: SELinux is preventing boinc_client from 'execute' accesses on the file /bin/bash.
Product: [Fedora] Fedora Reporter: Tom Weniger <trweniger>
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:e343b52abe14d362822ebdb199c068b0de40494222a7ff5f32052ebbc48cb775
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-02 14:14:32 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 Tom Weniger 2011-12-29 16:21:32 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.6-1.fc16.x86_64
reason:         SELinux is preventing boinc_client from 'execute' accesses on the file /bin/bash.
time:           Thu 29 Dec 2011 09:20:35 AM MST

description:
:SELinux is preventing boinc_client from 'execute' accesses on the file /bin/bash.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that boinc_client should be allowed execute access on the bash 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:object_r:shell_exec_t:s0
:Target Objects                /bin/bash [ file ]
:Source                        boinc_client
:Source Path                   boinc_client
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           bash-4.2.20-1.fc16
:Policy RPM                    selinux-policy-3.10.0-67.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.6-1.fc16.x86_64 #1 SMP Wed Dec
:                              21 22:41:17 UTC 2011 x86_64 x86_64
:Alert Count                   1
:First Seen                    Wed 28 Dec 2011 10:04:02 PM MST
:Last Seen                     Wed 28 Dec 2011 10:04:02 PM MST
:Local ID                      0e34cf85-78a4-464b-8691-ed4b2cb7404d
:
:Raw Audit Messages
:type=AVC msg=audit(1325135042.111:48): avc:  denied  { execute } for  pid=1203 comm="boinc_client" name="bash" dev=dm-0 ino=1048689 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file
:
:
:Hash: boinc_client,boinc_t,shell_exec_t,file,execute
:
:audit2allow
:
:#============= boinc_t ==============
:allow boinc_t shell_exec_t:file execute;
:
:audit2allow -R
:
:#============= boinc_t ==============
:allow boinc_t shell_exec_t:file execute;
:

Comment 1 Miroslav Grepl 2012-01-02 14:14:32 UTC
Please execute 

# yum update selinux-policy-targeted