Bug 1054819

Summary: SELinux is preventing /usr/sbin/bumblebeed from using the 'signal' accesses on a process.
Product: [Fedora] Fedora Reporter: Blazej Nowak <blazej.nowak>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dominick.grift, dwalsh, HolyMaster, lvrabec, mgrepl, van.zantvoort
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4ab5914bef2b00d5dd026eb46895da5309031b4dda2bdc83f140cb359376e7c2
Fixed In Version: selinux-policy-3.12.1-119.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 11:06:31 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 Blazej Nowak 2014-01-17 14:24:52 UTC
Description of problem:
SELinux is preventing /usr/sbin/bumblebeed from using the 'signal' accesses on a process.

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

If jeśli bumblebeed powinno mieć domyślnie signal dostęp do procesów z etykietami xserver_t.
Then proszę to zgłosić jako błąd.
Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp.
Do
można tymczasowo zezwolić na ten dostęp wykonując polecenia:
# grep bumblebeed /var/log/audit/audit.log | audit2allow -M mojapolityka
# semodule -i mojapolityka.pp

Additional Information:
Source Context                system_u:system_r:bumblebee_t:s0
Target Context                system_u:system_r:xserver_t:s0
Target Objects                 [ process ]
Source                        bumblebeed
Source Path                   /usr/sbin/bumblebeed
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           bumblebee-3.2.1-4.fc20.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-116.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.12.7-300.fc20.x86_64 #1 SMP Fri
                              Jan 10 15:35:31 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-01-17 15:32:51 CET
Last Seen                     2014-01-17 15:32:51 CET
Local ID                      9565b498-c731-4029-9a79-f26619e1ab82

Raw Audit Messages
type=AVC msg=audit(1389969171.292:633): avc:  denied  { signal } for  pid=905 comm="bumblebeed" scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:system_r:xserver_t:s0 tclass=process


type=SYSCALL msg=audit(1389969171.292:633): arch=x86_64 syscall=kill success=yes exit=0 a0=4226 a1=f a2=400 a3=0 items=0 ppid=1 pid=905 auid=4294967295 uid=0 gid=1001 euid=0 suid=0 fsuid=0 egid=1001 sgid=1001 fsgid=1001 ses=4294967295 tty=(none) comm=bumblebeed exe=/usr/sbin/bumblebeed subj=system_u:system_r:bumblebee_t:s0 key=(null)

Hash: bumblebeed,bumblebee_t,xserver_t,process,signal

Additional info:
reporter:       libreport-2.1.11
hashmarkername: setroubleshoot
kernel:         3.12.7-300.fc20.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-01-20 08:41:40 UTC
Author: Miroslav Grepl <mgrepl>
Date:   Mon Jan 20 09:40:50 2014 +0100

    Allow bumblebee to send a signal to xserver

Comment 2 Fedora Update System 2014-01-20 22:10:04 UTC
selinux-policy-3.12.1-119.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-119.fc20

Comment 3 Fedora Update System 2014-01-22 03:08:00 UTC
Package selinux-policy-3.12.1-119.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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.12.1-119.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-1249/selinux-policy-3.12.1-119.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-01-23 11:06:31 UTC
selinux-policy-3.12.1-119.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.