Bug 919622

Summary: SELinux is preventing /usr/bin/boinc_client from using the 'signal' accesses on a process.
Product: [Fedora] Fedora Reporter: bac_norman
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:d0365e69ed6179d4e0880ddaef87b3e5932740fa88a28a75790acc107aabedfb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-14 03:00:56 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 bac_norman 2013-03-08 23:16:54 UTC
Description of problem:
SELinux is preventing /usr/bin/boinc_client from using the 'signal' accesses on a process.

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

If you believe that boinc_client should be allowed signal access on processes labeled boinc_t 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                 [ process ]
Source                        boinc_client
Source Path                   /usr/bin/boinc_client
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           boinc-client-7.0.29-2.r25790svn.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-82.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.8.1-201.fc18.x86_64 #1 SMP Thu
                              Feb 28 19:23:08 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-03-04 22:24:33 EST
Last Seen                     2013-03-04 22:24:33 EST
Local ID                      38eec4b9-14dd-4b80-bf50-e9b7ee589318

Raw Audit Messages
type=AVC msg=audit(1362453873.633:370): avc:  denied  { signal } for  pid=2630 comm="boinc_client" scontext=system_u:system_r:boinc_t:s0 tcontext=system_u:system_r:boinc_t:s0 tclass=process


type=SYSCALL msg=audit(1362453873.633:370): arch=x86_64 syscall=tgkill success=no exit=EACCES a0=a46 a1=a46 a2=22 a3=7fff5c73d1a7 items=0 ppid=1 pid=2630 auid=4294967295 uid=991 gid=987 euid=991 suid=991 fsuid=991 egid=987 sgid=987 fsgid=987 ses=4294967295 tty=(none) 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,process,signal

audit2allow

#============= boinc_t ==============
allow boinc_t self:process signal;

audit2allow -R

#============= boinc_t ==============
allow boinc_t self:process signal;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.8.1-201.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-03-12 09:33:14 UTC
Fixed in selinux-policy-3.11.1-85.fc18.noarch

commit 3c65a24bfc26eba764f8420ea54e4ed6fdc2dac5
Author: Miroslav Grepl <mgrepl>
Date:   Tue Mar 12 10:31:43 2013 +0100

    Allow boinc domain to send signal to itself

Comment 2 Fedora Update System 2013-03-12 13:55:43 UTC
selinux-policy-3.11.1-85.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18

Comment 3 Fedora Update System 2013-03-12 23:35:45 UTC
Package selinux-policy-3.11.1-85.fc18:
* should fix your issue,
* was pushed to the Fedora 18 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.11.1-85.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3605/selinux-policy-3.11.1-85.fc18
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-03-14 03:00:58 UTC
selinux-policy-3.11.1-85.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.