Bug 770453

Summary: SELinux is preventing boinc_client from execute access on the file /bin/bash.
Product: [Fedora] Fedora Reporter: Robert Kief <robert.l.kief>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE 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: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-26 22:31:49 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 Robert Kief 2011-12-26 18:37:07 UTC
Description of problem:  This dump provided by the Notify Admin button on the SELinux Alert Browser window.  The Report Bug and Details buttons no longer function:

SELinux is preventing boinc_client from execute access 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
Host homenet06.homenet
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 homenet06.homenet
Platform Linux homenet06.homenet 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 Mon 26 Dec 2011 12:07:22 PM CST
Last Seen Mon 26 Dec 2011 12:07:22 PM CST
Local ID f890527d-8144-4fec-a069-cc5d05b03a0e

Raw Audit Messages
type=AVC msg=audit(1324922842.45:37): avc: denied { execute } for pid=1047 comm="boinc_client" name="bash" dev=dm-1 ino=2228274 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


Version-Release number of selected component (if applicable): 3.10.0.67-fc16.noarch


How reproducible:  Updated system and restarted computer


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

See bug #770452

Comment 1 Miroslav Grepl 2011-12-26 22:31:49 UTC

*** This bug has been marked as a duplicate of bug 770148 ***