Bug 770241

Summary: SELinux is preventing boinc_client from execute access on the file /bin/bash
Product: [Fedora] Fedora Reporter: Germano Massullo <germano.massullo>
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: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-25 18:17:52 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 Germano Massullo 2011-12-24 18:40:51 UTC
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:
Contesto della sorgente       system_u:system_r:boinc_t:s0
Contesto target               system_u:object_r:shell_exec_t:s0
Oggetti target                /bin/bash [ file ]
Sorgente                      boinc_client
Percorso della sorgente       boinc_client
Porta                         <Sconosciuto>
Host                          Portatile
Sorgente Pacchetti RPM        boinc-client-6.12.35-1.r24014svn.fc16
Pacchetti RPM target          bash-4.2.20-1.fc16
RPM della policy              selinux-policy-3.10.0-67.fc16
Selinux abilitato             True
Tipo di policy                targeted
Modalità Enforcing            Enforcing
Host Name                     Portatile
Piattaforma                   Linux Portatile 3.1.5-6.fc16.i686.PAE #1 SMP Thu
                              Dec 15 16:19:31 UTC 2011 i686 i686
Conteggio avvisi              2
Primo visto                   sab 24 dic 2011 15:59:49 CET
Ultimo visto                  sab 24 dic 2011 18:50:53 CET

Messaggi Raw Audit
type=AVC msg=audit(1324749053.511:49): avc:  denied  { execute } for  pid=1110 comm="boinc_client" name="bash" dev=dm-0 ino=14227 scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file


type=SYSCALL msg=audit(1324749053.511:49): arch=i386 syscall=execve success=no exit=EACCES a0=41824ece a1=bfc11ba0 a2=bfc13024 a3=3 items=0 ppid=1096 pid=1110 auid=4294967295 uid=495 gid=491 euid=495 suid=495 fsuid=495 egid=491 sgid=491 fsgid=491 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,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 2011-12-25 18:17:52 UTC

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