Bug 984391 - SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wine-preloader from 'connectto' accesses on the unix_stream_socket @/tmp/.X11-unix/X0.
Summary: SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wine-preloader from 'c...
Keywords:
Status: CLOSED DUPLICATE of bug 984377
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0716e16e769aa90daebf8097eed...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-15 06:16 UTC by Moez Roy
Modified: 2013-07-15 11:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-15 11:16:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2013-07-15 06:16:49 UTC
Description of problem:
SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wine-preloader from 'connectto' accesses on the unix_stream_socket @/tmp/.X11-unix/X0.

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

If you believe that wine-preloader 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 wineboot.exe /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:initrc_t:s0
Target Context                system_u:system_r:xserver_t:s0-s0:c0.c1023
Target Objects                @/tmp/.X11-unix/X0 [ unix_stream_socket ]
Source                        wineboot.exe
Source Path                   /opt/teamviewer8/tv_bin/wine/bin/wine-preloader
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           teamviewer-8.0.17147-1.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-98.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.9.9-201.fc18.x86_64 #1 SMP Fri
                              Jul 5 16:42:02 UTC 2013 x86_64 x86_64
Alert Count                   3
First Seen                    2013-07-12 12:04:58 PDT
Last Seen                     2013-07-13 08:31:10 PDT
Local ID                      fe7b370b-32c1-4a6b-85e4-c852abc222d1

Raw Audit Messages
type=AVC msg=audit(1373729470.777:402): avc:  denied  { connectto } for  pid=2571 comm="TeamViewer_Desk" path=002F746D702F2E5831312D756E69782F5830 scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:system_r:xserver_t:s0-s0:c0.c1023 tclass=unix_stream_socket


type=SYSCALL msg=audit(1373729470.777:402): arch=i386 syscall=getuid success=yes exit=0 a0=3 a1=13ee2c8 a2=7e1b2000 a3=0 items=0 ppid=1450 pid=2571 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=4294967295 tty=(none) comm=TeamViewer_Desk exe=/opt/teamviewer8/tv_bin/wine/bin/wine-preloader subj=system_u:system_r:initrc_t:s0 key=(null)

Hash: wineboot.exe,initrc_t,xserver_t,unix_stream_socket,connectto

audit2allow

#============= initrc_t ==============
allow initrc_t xserver_t:unix_stream_socket connectto;

audit2allow -R
require {
	type initrc_t;
}

#============= initrc_t ==============
xserver_dontaudit_stream_connect(initrc_t)


Additional info:
reporter:       libreport-2.1.5
hashmarkername: setroubleshoot
kernel:         3.9.9-201.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-07-15 11:16:32 UTC

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


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