Bug 533689

Summary: SELinux is preventing /usr/bin/python "name_connect" access.
Product: [Fedora] Fedora Reporter: cheguaka <cheguaka>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: 281673283, adamus1117, adrienramos, akurtako, alex, allesindtoren, beyecixramd, billsombrio, bismar.blog, breeze8growing, bugzilla_rhn, carrerah, celiohermoso, ceski, christine.henry92, christopher+rh, christoph.wickert, cward, cyrusyzgtt, demarco122, devel.niks, drfudgeboy, dwalsh, edosurina, eduard0.ec0, ericosaucedo, fabio.andreolj, ferraneloi, fortunato.tra, francico.87, gczarcinski, ghisha, great_king_72, hackob, hlk.dogan, hopparz, isada0, izartova, jeff, jeremy, jocagovi, jonathan.underwood, kamikaze666, kimfolsen80, kutekunal, lgraves, linux, linux, ma1t05, madomingo, matetiau, matteogsxr, mbooth, mgrepl, mikebigg, misiaczkowaty, ngirardin, nocountryman, noctivivans, nphilipp, numa.roger, nymarek, one.call.merch, palango, peppymaverick, phaleintx, pikachu.2014, rado.kljucevsek, raziel86.carlo, redhat, rolle.hoffmann, rplainfield, sahebgouda, santiago.lunar.m, scottt.tw, sdmckay, sebastiandouilly, selekta_den, slishan, swuste, topke63, unix63, vince.geek, vlapan, wrexx18, xoxo_lil-star_xoxo, xqdjk, xyzk, yaozhuo, zcerza
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:289480f51d24264cec2fceec266c12bc70d9e50ebd99aca4492b4a98731fd91c
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-11-09 12:51:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description cheguaka 2009-11-08 15:09:25 UTC
Resúmen:

SELinux is preventing /usr/bin/python "name_connect" access.

Descripción Detallada:

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:object_r:ftp_port_t:s0
Objetos Destino               None [ tcp_socket ]
Fuente                        yum
Dirección de Fuente          /usr/bin/python
Puerto                        21
Nombre de Equipo              (removed)
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
MLS Activado                  True
Modo Obediente                Enforcing
Nombre de Plugin              catchall
Nombre de Equipo              (removed)
Plataforma                    Linux (removed) 2.6.31.5-122.fc12.i686
                              #1 SMP Thu Nov 5 02:08:26 EST 2009 i686 i686
Cantidad de Alertas           1
Visto por Primera Vez         dom 08 nov 2009 15:48:54 EST
Visto por Última Vez         dom 08 nov 2009 15:48:54 EST
ID Local                      7c75dcc1-63c9-4c62-baaa-f12b41ba4c3f
Números de Línea            

Mensajes de Auditoría Crudos 

node=(removed) type=AVC msg=audit(1257713334.613:31967): avc:  denied  { name_connect } for  pid=2180 comm="yum" dest=21 scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:ftp_port_t:s0 tclass=tcp_socket

node=(removed) type=SYSCALL msg=audit(1257713334.613:31967): arch=40000003 syscall=102 success=no exit=-115 a0=3 a1=bfb37810 a2=f55f80 a3=bfb37a7c items=0 ppid=2179 pid=2180 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  selinux-policy-3.6.32-41.fc12,catchall,yum,abrt_t,ftp_port_t,tcp_socket,name_connect
audit2allow suggests:

#============= abrt_t ==============
allow abrt_t ftp_port_t:tcp_socket name_connect;

Comment 1 Miroslav Grepl 2009-11-09 12:51:03 UTC

*** This bug has been marked as a duplicate of bug 533439 ***

Comment 2 Matteo 2010-03-21 19:41:39 UTC
I try to update my sistem and apper this message!!!please help

Comment 3 Daniel Walsh 2010-03-22 16:08:05 UTC
Matteo, update to the latest policy and you can delete this message