Bug 524445 - setroubleshoot: SELinux is preventing /home/Moises/twonky/twonkymediaserver "execmem" access on <Unknown>.
Summary: setroubleshoot: SELinux is preventing /home/Moises/twonky/twonkymediaser...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:c83dec96f5c...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-20 10:14 UTC by Moisés Ramos
Modified: 2009-09-21 17:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-20 11:57:49 UTC


Attachments (Terms of Use)

Description Moisés Ramos 2009-09-20 10:14:41 UTC
The following was filed automatically by setroubleshoot:

Resúmen:

SELinux is preventing /home/Moises/twonky/twonkymediaserver "execmem" access on
<Unknown>.

Descripción Detallada:

SELinux denied access requested by twonkymediaserv. The current boolean settings
do not allow this access. If you have not setup twonkymediaserv 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.

Permitiendo Acceso:

One of the following booleans is set incorrectly: allow_execstack, allow_execmem

Comando para Corregir:

Choose one of the following to allow access:
Allow unconfined executables to make their stack executable. This should never,
ever be necessary. Probably indicates a badly coded executable, but could
indicate an attack. This executable should be reported in bugzilla")
# setsebool -P allow_execstack 1
Allow unconfined executables to map a memory region as both executable and
writable, this is dangerous and the executable should be reported in bugzilla")
# setsebool -P allow_execmem 1


Información Adicional:

Contexto Fuente               unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Contexto Destino              unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1
                              023
Objetos Destino               None [ process ]
Fuente                        twonkymediaserv
Dirección de Fuente          /home/Moises/twonky/twonkymediaserver
Puerto                        <Desconocido>
Nombre de Equipo              (removed)
Paquetes RPM Fuentes          
Paquetes RPM Destinos         
RPM de Políticas             selinux-policy-3.6.32-6.fc12
SELinux Activado              True
Tipo de Política             targeted
MLS Activado                  True
Modo Obediente                Enforcing
Nombre de Plugin              catchall_boolean
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.31-33.fc12.x86_64 #1 SMP
                              Thu Sep 17 15:40:43 EDT 2009 x86_64 x86_64
Cantidad de Alertas           28
Visto por Primera Vez         dom 20 sep 2009 12:13:48 CEST
Visto por Última Vez         dom 20 sep 2009 12:13:48 CEST
ID Local                      a4a333b6-7900-4f96-948d-7858048eeb2a
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1253441628.818:223): avc:  denied  { execmem } for  pid=3900 comm="twonkymediaserv" scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tclass=process

node=(removed) type=SYSCALL msg=audit(1253441628.818:223): arch=40000003 syscall=192 per=400000 success=no exit=-13 a0=0 a1=a01000 a2=7 a3=20022 items=0 ppid=3899 pid=3900 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=pts0 ses=1 comm="twonkymediaserv" exe="/home/Moises/twonky/twonkymediaserver" subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null)


audit2allow suggests:

#============= unconfined_t ==============
allow unconfined_t self:process execmem;

Comment 1 Moisés Ramos 2009-09-20 10:18:19 UTC
Estaba intentando iniciar Twonkymedia, un programa de streaming UPnP de www.twonkyvision.com

Comment 2 Daniel Walsh 2009-09-20 11:57:49 UTC
Report this as a bug to Twonkeymedea that the app is built incorrectly.

You can execute 

chcon -t execmem_exec_t  /home/Moises/twonky/twonkymediaserver

To allow this app this priv, or you can turn on one of the booleans described in the troubleshoot.


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