Bug 534016 - SELinux is preventing /usr/bin/python "name_connect" access.
Summary: SELinux is preventing /usr/bin/python "name_connect" access.
Keywords:
Status: CLOSED DUPLICATE of bug 533439
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:92fac776239...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-10 05:29 UTC by Renich Bon Ciric
Modified: 2010-04-21 00:02 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-10 12:38:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Renich Bon Ciric 2009-11-10 05:29:59 UTC
Summary:

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

Detailed Description:

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.

Allowing Access:

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.

Additional Information:

Source Context                system_u:system_r:abrt_t:s0
Target Context                system_u:object_r:ftp_port_t:s0
Target Objects                None [ tcp_socket ]
Source                        yumdownloader
Source Path                   /usr/bin/python
Port                          21
Host                          (removed)
Source RPM Packages           python-2.6.2-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-41.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.5-127.fc12.x86_64 #1 SMP Sat Nov 7 21:11:14
                              EST 2009 x86_64 x86_64
Alert Count                   2
First Seen                    Mon 09 Nov 2009 02:01:38 AM CST
Last Seen                     Mon 09 Nov 2009 11:25:18 PM CST
Local ID                      d853ef85-44bd-41e4-8962-0deebb0cc181
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1257830718.489:29996): avc:  denied  { name_connect } for  pid=30664 comm="yumdownloader" 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(1257830718.489:29996): arch=c000003e syscall=42 success=no exit=-115 a0=1b a1=7fff17b64290 a2=10 a3=0 items=0 ppid=27533 pid=30664 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,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-10 12:38:37 UTC

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

Comment 2 wherebrandon_fedora_bugzilla 2010-01-30 17:18:57 UTC
i installed fedora 12 on a lenovo W500.  When i ran the updates this morning i got this error, and signed up for a redhad bugzilla id, and reported the error(it is the first of 8 selinux errors)

I have not used alternate/3rd party repos.  i haven't even put in m3 decoding or dvd watching.

this issue does still exist on 100% redhat/fedora distributed packages, so it DOES NOT WORK FOR ME.

i will be happy to provide any information from my system to help solve the problem.

this is preventing yum from working.

i really don't want to disable selinux.  it is there for a good reason.


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