Bug 972504 - SELinux is preventing /usr/bin/wine-preloader from 'getattr' accesses on the file /home/user9/.wine/drive_c/users/user9/Application Data/wine_gecko/places.sqlite-wal.
Summary: SELinux is preventing /usr/bin/wine-preloader from 'getattr' accesses on the ...
Keywords:
Status: CLOSED DUPLICATE of bug 972502
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:2b8e2bc7af2683504e0ef9fdd44...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-09 19:04 UTC by Moez Roy
Modified: 2013-06-11 13:15 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 13:15:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2013-06-09 19:04:20 UTC
Description of problem:
SELinux is preventing /usr/bin/wine-preloader from 'getattr' accesses on the file /home/user9/.wine/drive_c/users/user9/Application Data/wine_gecko/places.sqlite-wal.

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

If you believe that wine-preloader should be allowed getattr access on the places.sqlite-wal 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 iexplore.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:wine_home_t:s0
Target Objects                /home/user9/.wine/drive_c/users/user9/Application
                              Data/wine_gecko/places.sqlite-wal [ file ]
Source                        iexplore.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-08 00:50:59 PDT
Last Seen                     2013-06-08 00:50:59 PDT
Local ID                      f4941c20-2ace-47b4-9d00-cb84bd27ea87

Raw Audit Messages
type=AVC msg=audit(1370677859.197:2081): avc:  denied  { getattr } for  pid=18888 comm="iexplore.exe" path=2F686F6D652F75736572392F2E77696E652F64726976655F632F75736572732F75736572392F4170706C69636174696F6E20446174612F77696E655F6765636B6F2F706C616365732E73716C6974652D77616C dev="dm-3" ino=46137935 scontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:wine_home_t:s0 tclass=file


type=SYSCALL msg=audit(1370677859.197:2081): arch=i386 syscall=removexattr success=yes exit=0 a0=5e a1=23fdedc a2=f75ab000 a3=23fe000 items=0 ppid=1 pid=18888 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=iexplore.exe exe=/usr/bin/wine-preloader subj=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 key=(null)

Hash: iexplore.exe,wine_t,wine_home_t,file,getattr

audit2allow

#============= wine_t ==============
allow wine_t wine_home_t:file getattr;

audit2allow -R
require {
	type wine_t;
	type wine_home_t;
	class file getattr;
}

#============= wine_t ==============
allow wine_t wine_home_t:file getattr;


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:15:53 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.