Bug 770850 - SELinux is preventing boinc_client from 'execute' accesses on the file /bin/bash.
Summary: SELinux is preventing boinc_client from 'execute' accesses on the file /bin/b...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e343b52abe14d362822ebdb199c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-29 16:21 UTC by Tom Weniger
Modified: 2012-01-02 14:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-02 14:14:32 UTC
Type: ---


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.