Bug 712548 - SELinux is preventing /usr/bin/python "getattr" access on /proc/<pid>/status.
Summary: SELinux is preventing /usr/bin/python "getattr" access on /proc/<pid>/status.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:614efc90fe3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-11 02:51 UTC by Oscar Flor
Modified: 2011-06-11 07:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-11 07:53:08 UTC
Type: ---


Attachments (Terms of Use)

Description Oscar Flor 2011-06-11 02:51:14 UTC
Resúmen:

SELinux is preventing /usr/bin/python "getattr" access on /proc//status.

Descripción Detallada:

[yum es un tipo permisivo (abrt_t). Este acceso no fue denegado.]

SELinux denied access requested by yum. It is not expected that this access is
required by yum and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Permitiendo Acceso:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report.

Información Adicional:

Contexto Fuente               system_u:system_r:abrt_t:s0
Contexto Destino              system_u:system_r:rpm_t:s0-s0:c0.c1023
Objetos Destino               /proc/<pid>/status [ file ]
Fuente                        yum
Dirección de Fuente          /usr/bin/python
Puerto                        <Desconocido>
Nombre de Equipo              (eliminado)
Paquetes RPM Fuentes          python-2.6.2-2.fc12
Paquetes RPM Destinos         
RPM de Políticas             selinux-policy-3.6.32-41.fc12
SELinux Activado              True
Tipo de Política             targeted
Modo Obediente                Enforcing
Nombre de Plugin              catchall
Nombre de Equipo              (eliminado)
Plataforma                    Linux (eliminado) 2.6.31.5-127.fc12.i686 #1 SMP Sat
                              Nov 7 21:41:45 EST 2009 i686 i686
Cantidad de Alertas           1
Visto por Primera Vez         mié 08 jun 2011 21:39:47 PYT
Visto por Última Vez         mié 08 jun 2011 21:39:47 PYT
ID Local                      eedccf3d-d589-4ae8-a327-055f4282e28b
Números de Línea            

Mensajes de Auditoría Crudos 

node=(eliminado) type=AVC msg=audit(1307583587.774:218): avc:  denied  { getattr } for  pid=17726 comm="yum" path="/proc/17645/status" dev=proc ino=614508 scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:system_r:rpm_t:s0-s0:c0.c1023 tclass=file

node=(eliminado) type=SYSCALL msg=audit(1307583587.774:218): arch=40000003 syscall=195 success=yes exit=0 a0=982ea78 a1=bf97118c a2=284ff4 a3=982ea78 items=0 ppid=17725 pid=17726 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="yum" exe="/usr/bin/python" subj=system_u:system_r:abrt_t:s0 key=(null)



Hash String generated from  catchall,yum,abrt_t,rpm_t,file,getattr
audit2allow suggests:

#============= abrt_t ==============
#!!!! This avc is allowed in the current policy

allow abrt_t rpm_t:file getattr;

Comment 1 Miroslav Grepl 2011-06-11 07:53:08 UTC
F12 is no longer supported. Please update to the newer version of Fedora.


Btw. it was fixed in the F12 latest release.


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