Bug 969751 - SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wine-preloader from 'shutdown' accesses on the tcp_socket .
SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wine-preloader from 's...
Status: CLOSED DUPLICATE of bug 969731
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-06-02 01:50 EDT by Moez Roy
Modified: 2013-06-03 02:06 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-06-03 02:06:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Moez Roy 2013-06-02 01:50:47 EDT
Description of problem:
SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wine-preloader from 'shutdown' accesses on the tcp_socket .

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

If you believe that wine-preloader should be allowed shutdown access on the  tcp_socket by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# grep TeamViewer_Desk /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                unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
Target Objects                 [ tcp_socket ]
Source                        TeamViewer_Desk
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-97.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.9.4-200.fc18.x86_64 #1 SMP Fri
                              May 24 20:10:49 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-05-31 09:48:35 PDT
Last Seen                     2013-05-31 09:48:35 PDT
Local ID                      6261ec71-443a-44da-844d-9d5ae1c46ec3

Raw Audit Messages
type=AVC msg=audit(1370018915.0:512): avc:  denied  { shutdown } for  pid=11305 comm="TeamViewer_Desk" laddr= lport=54342 faddr= fport=5939 scontext=system_u:system_r:initrc_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=tcp_socket

type=SYSCALL msg=audit(1370018915.0:512): arch=i386 syscall=getuid success=yes exit=0 a0=d a1=7ffd6f90 a2=7e567148 a3=0 items=0 ppid=11097 pid=11305 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: TeamViewer_Desk,initrc_t,unconfined_t,tcp_socket,shutdown


#============= initrc_t ==============
allow initrc_t unconfined_t:tcp_socket shutdown;

audit2allow -R
require {
	type unconfined_t;
	type initrc_t;
	class tcp_socket shutdown;

#============= initrc_t ==============
allow initrc_t unconfined_t:tcp_socket shutdown;

Additional info:
reporter:       libreport-2.1.4
hashmarkername: setroubleshoot
kernel:         3.9.4-200.fc18.x86_64
type:           libreport
Comment 1 Miroslav Grepl 2013-06-03 02:06:05 EDT

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

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