Bug 1212984 - SELinux is preventing Xephyr from 'connectto' accesses on the unix_stream_socket @/tmp/.X11-unix/X0.
Summary: SELinux is preventing Xephyr from 'connectto' accesses on the unix_stream_soc...
Keywords:
Status: CLOSED DUPLICATE of bug 1103622
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aec5a6ba15c9c3ea57d06e57483...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-17 20:02 UTC by Joachim Frieben
Modified: 2015-04-20 11:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-04-20 11:08:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2015-04-17 20:02:44 UTC
Description of problem:
Run 'sandbox -X firefox'.
SELinux is preventing Xephyr from 'connectto' accesses on the unix_stream_socket @/tmp/.X11-unix/X0.

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

If you believe that Xephyr should be allowed connectto access on the X0 unix_stream_socket 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 Xephyr /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:sandbox_x_t:s0:c568,c602
Target Context                unconfined_u:unconfined_r:xserver_t:s0-s0:c0.c1023
Target Objects                @/tmp/.X11-unix/X0 [ unix_stream_socket ]
Source                        Xephyr
Source Path                   Xephyr
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-119.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.0.0-1.fc22.x86_64 #1 SMP Mon Apr
                              13 10:03:33 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-04-17 22:00:27 CEST
Last Seen                     2015-04-17 22:00:27 CEST
Local ID                      220d45fc-7ecb-49ca-bac9-e1e3304c1467

Raw Audit Messages
type=AVC msg=audit(1429300827.523:529): avc:  denied  { connectto } for  pid=2414 comm="Xephyr" path=002F746D702F2E5831312D756E69782F5830 scontext=unconfined_u:unconfined_r:sandbox_x_t:s0:c568,c602 tcontext=unconfined_u:unconfined_r:xserver_t:s0-s0:c0.c1023 tclass=unix_stream_socket permissive=0


Hash: Xephyr,sandbox_x_t,xserver_t,unix_stream_socket,connectto

Version-Release number of selected component:
selinux-policy-3.13.1-119.fc22.noarch

Additional info:
reporter:       libreport-2.5.1
hashmarkername: setroubleshoot
kernel:         4.0.0-1.fc22.x86_64
type:           libreport

Potential duplicate: bug 1105652

Comment 1 Lukas Vrabec 2015-04-20 11:08:22 UTC

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


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