Bug 588120 - SELinux is preventing /usr/bin/python "name_connect" access.
Summary: SELinux is preventing /usr/bin/python "name_connect" access.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:5d5ed0cceee...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-02 18:42 UTC by sebastiandouilly
Modified: 2010-05-03 09:46 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-05-03 09:46:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description sebastiandouilly 2010-05-02 18:42:54 UTC
Résumé:

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

Description détaillée:

SELinux denied access requested by yumdownloader. It is not expected that this
access is required by yumdownloader 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.

Autoriser l'accès:

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.

Informations complémentaires:

Contexte source               system_u:system_r:abrt_t:s0
Contexte cible                system_u:object_r:virt_migration_port_t:s0
Objets du contexte            None [ tcp_socket ]
source                        yumdownloader
Chemin de la source           /usr/bin/python
Port                          49216
Hôte                         (removed)
Paquetages RPM source         python-2.6.2-2.fc12
Paquetages RPM cible          
Politique RPM                 selinux-policy-3.6.32-41.fc12
Selinux activé               True
Type de politique             targeted
MLS activé                   True
Mode strict                   Enforcing
Nom du plugin                 catchall
Nom de l'hôte                (removed)
Plateforme                    Linux (removed) 2.6.31.5-127.fc12.i686
                              #1 SMP Sat Nov 7 21:41:45 EST 2009 i686 i686
Compteur d'alertes            1
Première alerte              dim. 18 avril 2010 23:50:02 CEST
Dernière alerte              dim. 18 avril 2010 23:50:02 CEST
ID local                      2930d814-742f-4eea-9918-fc1b02dd33b6
Numéros des lignes           

Messages d'audit bruts        

node=(removed) type=AVC msg=audit(1271627402.663:40913): avc:  denied  { name_connect } for  pid=8185 comm="yumdownloader" dest=49216 scontext=system_u:system_r:abrt_t:s0 tcontext=system_u:object_r:virt_migration_port_t:s0 tclass=tcp_socket

node=(removed) type=SYSCALL msg=audit(1271627402.663:40913): arch=40000003 syscall=102 success=no exit=-115 a0=3 a1=bfa4bd90 a2=79cf80 a3=bfa4bffc items=0 ppid=6970 pid=8185 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="yumdownloader" 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,yumdownloader,abrt_t,virt_migration_port_t,tcp_socket,name_connect
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2010-05-03 09:46:37 UTC
please run

# yum update


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