View Issue Details

IDProjectCategoryView StatusLast Update
0015454CentOS-7selinux-policypublic2019-10-11 11:29
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0015454: SELinux is preventing /opt/teamviewer/tv_bin/TeamViewer from 'read' accesses on the file teamviewerd.ipc.
DescriptionDescription of problem:
SELinux is preventing /opt/teamviewer/tv_bin/TeamViewer from 'read' accesses on the file teamviewerd.ipc.

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

If you believe that TeamViewer should be allowed read access on the teamviewerd.ipc file 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:
# ausearch -c 'TeamViewer' --raw | audit2allow -M my-TeamViewer
# semodule -i my-TeamViewer.pp

Additional Information:
Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context unconfined_u:object_r:var_run_t:s0
Target Objects teamviewerd.ipc [ file ]
Source TeamViewer
Source Path /opt/teamviewer/tv_bin/TeamViewer
Port <Unknown>
Host (removed)
Source RPM Packages teamviewer-13.2.13582-0.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-192.el7.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-862.el7.x86_64 #1 SMP Fri
                              Apr 20 16:44:24 UTC 2018 x86_64 x86_64
Alert Count 1
First Seen 2018-09-16 09:34:15 +0430
Last Seen 2018-09-16 09:34:15 +0430
Local ID 476e3f8f-fff7-4845-8284-95d65254a3a3

Raw Audit Messages
type=AVC msg=audit(1537074255.792:1662): avc: denied { read } for pid=9204 comm="TeamViewer" name="teamviewerd.ipc" dev="tmpfs" ino=197380 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=file

type=SYSCALL msg=audit(1537074255.792:1662): arch=x86_64 syscall=open success=no exit=EACCES a0=32de800 a1=0 a2=1b6 a3=24 items=0 ppid=9203 pid=9204 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=TeamViewer exe=/opt/teamviewer/tv_bin/TeamViewer subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)

Hash: TeamViewer,xdm_t,var_run_t,file,read

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-862.14.4.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
Tagsselinux, teamviewer




2019-10-11 11:29

administrator   ~0035438

thanks for the report, but this should be pushed to the "vendor" to add the proper selinux rules into their rpm.

Issue History

Date Modified Username Field Change
2018-11-10 09:13 pamirwebs New Issue
2019-10-11 07:45 tru Tag Attached: selinux
2019-10-11 07:45 tru Tag Attached: teamviewer
2019-10-11 11:29 tru Note Added: 0035438