Bug 972505 - SELinux is preventing /usr/bin/wine-preloader from 'unlink' accesses on the file pulse-shm-581205412.
Summary: SELinux is preventing /usr/bin/wine-preloader from 'unlink' accesses on the f...
Status: CLOSED DUPLICATE of bug 972502
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
(Show other bugs)
Version: 18
Hardware: x86_64 Unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:005ea4101a84c40b3ab3cc4c2fe...
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-09 19:05 UTC by Moez Roy
Modified: 2013-06-11 13:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-06-11 13:19:28 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Moez Roy 2013-06-09 19:05:28 UTC
Description of problem:
SELinux is preventing /usr/bin/wine-preloader from 'unlink' accesses on the file pulse-shm-581205412.

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

If you believe that wine-preloader should be allowed unlink access on the pulse-shm-581205412 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:
# grep firefox.exe /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_tmpfs_t:s0
Target Objects                pulse-shm-581205412 [ file ]
Source                        firefox.exe
Source Path                   /usr/bin/wine-preloader
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           wine-core-1.5.29-1.fc18.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-06-07 01:18:46 PDT
Last Seen                     2013-06-07 01:18:46 PDT
Local ID                      d5870f67-d2a4-4912-9c1e-b6ca26a749b1

Raw Audit Messages
type=AVC msg=audit(1370593126.386:1721): avc:  denied  { unlink } for  pid=22193 comm="firefox.exe" name="pulse-shm-581205412" dev="tmpfs" ino=637217 scontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_tmpfs_t:s0 tclass=file

type=SYSCALL msg=audit(1370593126.386:1721): arch=i386 syscall=mprotect success=yes exit=0 a0=33f9b0 a1=736c7570 a2=f743e000 a3=33fa4d items=0 ppid=1 pid=22193 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=firefox.exe exe=/usr/bin/wine-preloader subj=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 key=(null)

Hash: firefox.exe,wine_t,user_tmpfs_t,file,unlink


#============= wine_t ==============
allow wine_t user_tmpfs_t:file unlink;

audit2allow -R
require {
	type wine_t;

#============= wine_t ==============

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-11 13:19:28 UTC

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

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