Bug 517654

Summary: setroubleshoot: SELinux is preventing smoltSendProfil (system_cronjob_t) "name_connect" http_port_t.
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e9f82eb5afe252857cc86a142317f58344d5048bc52f4a195c2b23766dfc1a4d
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-18 13:27:34 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 Tom London 2009-08-15 17:26:16 UTC
The following was filed automatically by setroubleshoot:

Summary:

SELinux is preventing smoltSendProfil (system_cronjob_t) "name_connect"
http_port_t.

Detailed Description:

SELinux denied access requested by smoltSendProfil. It is not expected that this
access is required by smoltSendProfil 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 (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

Additional Information:

Source Context                system_u:system_r:system_cronjob_t:s0-s0:c0.c1023
Target Context                system_u:object_r:http_port_t:s0
Target Objects                None [ tcp_socket ]
Source                        smoltSendProfil
Source Path                   /usr/bin/python
Port                          80
Host                          (removed)
Source RPM Packages           python-2.6.2-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.26-11.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-0.156.rc6.fc12.x86_64 #1 SMP Fri Aug 14
                              19:02:06 EDT 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Sat 15 Aug 2009 10:20:13 AM PDT
Last Seen                     Sat 15 Aug 2009 10:20:13 AM PDT
Local ID                      443ca507-b5ef-4d62-ba82-e137f393f125
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1250356813.775:63): avc:  denied  { name_connect } for  pid=2859 comm="smoltSendProfil" dest=80 scontext=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socket

node=(removed) type=SYSCALL msg=audit(1250356813.775:63): arch=c000003e syscall=42 success=no exit=-115 a0=4 a1=7fff1af5af30 a2=10 a3=0 items=0 ppid=2857 pid=2859 auid=495 uid=495 gid=489 euid=495 suid=495 fsuid=495 egid=489 sgid=489 fsgid=489 tty=(none) ses=5 comm="smoltSendProfil" exe="/usr/bin/python" subj=system_u:system_r:system_cronjob_t:s0-s0:c0.c1023 key=(null)


audit2allow suggests:

#============= system_cronjob_t ==============
allow system_cronjob_t http_port_t:tcp_socket name_connect;

Comment 1 Daniel Walsh 2009-08-18 13:27:34 UTC
smoltclient policy added in selinux-policy-3.6.27-2.fc12.noarch