Bug 591307

Summary: SELinux is preventing /usr/bin/python "create" access .
Product: [Fedora] Fedora Reporter: David Shuman <csatech40>
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: daniel2196, dwalsh, dzickus, mgrepl, p_s_oberoi, webmaster
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:18b046164ccc442738dd3cf2bf2f88c69e49ba445775594f00b2ef6550705e20
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-05-11 21:21:08 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 David Shuman 2010-05-11 20:36:15 UTC
Summary:

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

Detailed Description:

SELinux denied access requested by denyhosts.py. It is not expected that this
access is required by denyhosts.py 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:denyhosts_t:s0
Target Context                system_u:system_r:denyhosts_t:s0
Target Objects                None [ unix_dgram_socket ]
Source                        denyhosts.py
Source Path                   /usr/bin/python
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           python-2.6.2-4.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-113.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.32.11-99.fc12.i686
                              #1 SMP Mon Apr 5 16:32:08 EDT 2010 i686 i686
Alert Count                   5
First Seen                    Thu 06 May 2010 05:11:35 PM EDT
Last Seen                     Tue 11 May 2010 11:08:56 AM EDT
Local ID                      cae643b5-b0a0-451e-af77-038fa4a13797
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1273590536.953:28425): avc:  denied  { create } for  pid=25429 comm="denyhosts.py" scontext=system_u:system_r:denyhosts_t:s0 tcontext=system_u:system_r:denyhosts_t:s0 tclass=unix_dgram_socket

node=(removed) type=SYSCALL msg=audit(1273590536.953:28425): arch=40000003 syscall=102 success=no exit=-13 a0=1 a1=bff0fddc a2=d4dff4 a3=1 items=0 ppid=1 pid=25429 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=567 comm="denyhosts.py" exe="/usr/bin/python" subj=system_u:system_r:denyhosts_t:s0 key=(null)



Hash String generated from  catchall,denyhosts.py,denyhosts_t,denyhosts_t,unix_dgram_socket,create
audit2allow suggests:

#============= denyhosts_t ==============
allow denyhosts_t self:unix_dgram_socket create;

Comment 1 Daniel Walsh 2010-05-11 21:21:08 UTC

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