Bug 1037910 - SELinux is preventing /usr/bin/wine64-preloader from 'create' accesses on the directory .wine.
Summary: SELinux is preventing /usr/bin/wine64-preloader from 'create' accesses on the...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 19
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7078b1298cd5abdea53e733ae04...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-04 03:42 UTC by Casey Dahlin
Modified: 2015-02-18 11:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-18 11:00:36 UTC
Type: ---


Attachments (Terms of Use)

Description Casey Dahlin 2013-12-04 03:42:27 UTC
Description of problem:
I ran the wine command from the terminal.
SELinux is preventing /usr/bin/wine64-preloader from 'create' accesses on the directory .wine.

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

If you believe that wine64-preloader should be allowed create access on the .wine directory 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 wine64 /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                staff_u:staff_r:staff_wine_t:s0-s0:c0.c1023
Target Context                staff_u:object_r:user_home_dir_t:s0
Target Objects                .wine [ dir ]
Source                        wine64
Source Path                   /usr/bin/wine64-preloader
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           wine-core-1.7.3-1.fc19.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.12.1-74.10.fc19.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.11.6-200.fc19.x86_64 #1 SMP Fri
                              Oct 18 22:34:18 UTC 2013 x86_64 x86_64
Alert Count                   5
First Seen                    2013-12-03 22:38:28 EST
Last Seen                     2013-12-03 22:39:17 EST
Local ID                      841c8746-f64d-4239-877e-8d81d453399c

Raw Audit Messages
type=AVC msg=audit(1386128357.849:4948): avc:  denied  { create } for  pid=14719 comm="wine" name=".wine" scontext=staff_u:staff_r:staff_wine_t:s0-s0:c0.c1023 tcontext=staff_u:object_r:user_home_dir_t:s0 tclass=dir


type=SYSCALL msg=audit(1386128357.849:4948): arch=i386 syscall=getpid success=no exit=EACCES a0=7c70ff08 a1=1ff a2=7bcc4000 a3=7c70ff08 items=0 ppid=4248 pid=14719 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=1 tty=pts5 comm=wine exe=/usr/bin/wine-preloader subj=staff_u:staff_r:staff_wine_t:s0-s0:c0.c1023 key=(null)

Hash: wine64,staff_wine_t,user_home_dir_t,dir,create

Additional info:
reporter:       libreport-2.1.9
hashmarkername: setroubleshoot
kernel:         3.11.6-200.fc19.x86_64
type:           libreport

Comment 1 Daniel Walsh 2013-12-04 13:40:45 UTC
bbf5f9774876b20564d709c273b31739400bf821 and
891a4d701f32f78fc5cb8fb7343d787abd275080

Fix this in git.

Comment 3 Fedora End Of Life 2015-01-09 22:22:31 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 19 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2015-02-18 11:00:36 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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