Bug 999693 - SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wineserver from 'unlink' accesses on the file user.reg.
Summary: SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wineserver from 'unlin...
Keywords:
Status: CLOSED DUPLICATE of bug 999691
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:47bac6abb2636528f22bd53314b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-21 21:27 UTC by Moez Roy
Modified: 2013-08-22 09:04 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-22 09:04:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2013-08-21 21:27:55 UTC
Description of problem:
SELinux is preventing /opt/teamviewer8/tv_bin/wine/bin/wineserver from 'unlink' accesses on the file user.reg.

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

If you believe that wineserver should be allowed unlink access on the user.reg file 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 wineserver /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:object_r:config_home_t:s0
Target Objects                user.reg [ file ]
Source                        wineserver
Source Path                   /opt/teamviewer8/tv_bin/wine/bin/wineserver
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           teamviewer-8.0.17147-1.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-100.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 3.10.4-100.fc18.x86_64 #1 SMP Thu
                              Aug 1 21:13:27 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-08-21 10:42:21 PDT
Last Seen                     2013-08-21 10:42:21 PDT
Local ID                      0c6df1fc-3701-4846-8322-b538ee355afc

Raw Audit Messages
type=AVC msg=audit(1377106941.461:426): avc:  denied  { unlink } for  pid=1818 comm="wineserver" name="user.reg" dev="dm-3" ino=45875601 scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:object_r:config_home_t:s0 tclass=file


type=SYSCALL msg=audit(1377106941.461:426): arch=i386 syscall=setitimer success=yes exit=0 a0=86377a8 a1=80803c0 a2=86377a8 a3=1 items=0 ppid=1 pid=1818 auid=4294967295 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=4294967295 tty=(none) comm=wineserver exe=/opt/teamviewer8/tv_bin/wine/bin/wineserver subj=system_u:system_r:initrc_t:s0 key=(null)

Hash: wineserver,initrc_t,config_home_t,file,unlink

audit2allow

#============= initrc_t ==============
allow initrc_t config_home_t:file unlink;

audit2allow -R
require {
	type initrc_t;
}

#============= initrc_t ==============
gnome_delete_home_config(initrc_t)


Additional info:
reporter:       libreport-2.1.6
hashmarkername: setroubleshoot
kernel:         3.10.4-100.fc18.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2013-08-22 09:04:18 UTC

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


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