Bug 524467 - setroubleshoot: SELinux is preventing /usr/bin/wine-preloader "mmap_zero" access on <Unknown>.
Summary: setroubleshoot: SELinux is preventing /usr/bin/wine-preloader "mmap_zero...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ef88639d45f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-20 15:33 UTC by Sebastiano M. Cossu
Modified: 2009-09-21 12:31 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-21 12:31:04 UTC


Attachments (Terms of Use)

Description Sebastiano M. Cossu 2009-09-20 15:33:51 UTC
The following was filed automatically by setroubleshoot:

Sommario:

SELinux is preventing /usr/bin/wine-preloader "mmap_zero" access on <Unknown>.

Descrizione dettagliata:

SELinux denied access requested by wine-preloader. The current boolean settings
do not allow this access. If you have not setup wine-preloader to require this
access this may signal an intrusion attempt. If you do intend this access you
need to change the booleans on this system to allow the access.

Abilitazione accesso in corso:

Confined processes can be configured to run requiring different access, SELinux
provides booleans to allow you to turn on/off access as needed. The boolean
mmap_low_allowed is set incorrectly.
Boolean Description:
Allow certain domains to map low memory in the kernel


Comando fix:

# setsebool -P mmap_low_allowed 1

Informazioni aggiuntive:

Contesto della sorgente       unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023
Contesto target               unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023
Oggetti target                None [ memprotect ]
Sorgente                      wine-preloader
Percorso della sorgente       /usr/bin/wine-preloader
Porta                         <Sconosciuto>
Host                          (removed)
Sorgente Pacchetti RPM        wine-core-1.1.29-2.fc12
Pacchetti RPM target          
RPM della policy              selinux-policy-3.6.31-2.fc12
Selinux abilitato             True
Tipo di policy                targeted
MLS abilitato                 True
Modalità Enforcing           Enforcing
Nome plugin                   catchall_boolean
Host Name                     (removed)
Piattaforma                   Linux (removed) 2.6.31-2.fc12.i686 #1 SMP Thu Sep 10
                              00:41:03 EDT 2009 i686 i686
Conteggio avvisi              12
Primo visto                   sab 19 set 2009 15:07:01 CEST
Ultimo visto                  sab 19 set 2009 15:07:29 CEST
ID locale                     702aeab4-5bc4-4f12-ba32-4b94b9862655
Numeri di linea               

Messaggi Raw Audit            

node=(removed) type=AVC msg=audit(1253365649.188:43): avc:  denied  { mmap_zero } for  pid=2199 comm="wine-preloader" scontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 tclass=memprotect

node=(removed) type=SYSCALL msg=audit(1253365649.188:43): arch=40000003 syscall=90 success=no exit=-13 a0=bfe62100 a1=0 a2=bfe62100 a3=5a items=0 ppid=2198 pid=2199 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="wine-preloader" exe="/usr/bin/wine-preloader" subj=unconfined_u:unconfined_r:wine_t:s0-s0:c0.c1023 key=(null)


audit2allow suggests:

#============= wine_t ==============
allow wine_t self:memprotect mmap_zero;

Comment 1 Daniel Walsh 2009-09-21 12:31:04 UTC
The setroubleshoot told you what to do, so why did you report the bugzilla?


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