Bug 1054818 - SELinux is preventing /usr/sbin/bumblebeed from 'connectto' accesses on the unix_stream_socket @/tmp/.X11-unix/X8.
Summary: SELinux is preventing /usr/sbin/bumblebeed from 'connectto' accesses on the u...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:4174985082b410b4bdabe30dc66...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-17 14:23 UTC by Blazej Nowak
Modified: 2014-01-23 12:32 UTC (History)
6 users (show)

Fixed In Version: selinux-policy-3.12.1-119.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 11:06:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Blazej Nowak 2014-01-17 14:23:03 UTC
Description of problem:
SELinux is preventing /usr/sbin/bumblebeed from 'connectto' accesses on the unix_stream_socket @/tmp/.X11-unix/X8.

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

If aby bumblebeed powinno mieć domyślnie connectto dostęp do X8 unix_stream_socket.
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                @/tmp/.X11-unix/X8 [ unix_stream_socket ]
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                   2
First Seen                    2014-01-17 15:30:53 CET
Last Seen                     2014-01-17 15:31:03 CET
Local ID                      9a5e06c3-8504-45ee-9280-7832fc7c0546

Raw Audit Messages
type=AVC msg=audit(1389969063.260:632): avc:  denied  { connectto } for  pid=905 comm="bumblebeed" path=002F746D702F2E5831312D756E69782F5838 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:system_r:xserver_t:s0 tclass=unix_stream_socket


type=SYSCALL msg=audit(1389969063.260:632): arch=x86_64 syscall=connect success=yes exit=0 a0=8 a1=7fff314916c0 a2=14 a3=7fff314916c3 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,unix_stream_socket,connectto

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:42:35 UTC
commit 2b74fd9838b6396ef36bcb4c07fcd9abd170f831
Author: Miroslav Grepl <mgrepl>
Date:   Mon Jan 20 09:42:20 2014 +0100

    Allow bumblebee to stream connect to xserver

Comment 2 Fedora Update System 2014-01-20 22:10:00 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:07:56 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:25 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.


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