Bug 786017

Summary: SELinux is preventing /usr/sbin/httpd from 'name_connect' accesses on the None .
Product: [Fedora] Fedora Reporter: Eddie Lania <eddie>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:0869ebc70785d613318be59d8e1147729adec789b3d45c88ddd1f610edbd210a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-31 10:22:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Eddie Lania 2012-01-31 07:51:58 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.2.2-1.fc16.i686.PAE
reason:         SELinux is preventing /usr/sbin/httpd from 'name_connect' accesses on the None .
time:           Tue 31 Jan 2012 08:51:29 AM CET

description:
:SELinux is preventing /usr/sbin/httpd from 'name_connect' accesses on the None .
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that httpd should be allowed name_connect access on the  <Unknown> by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep /usr/sbin/httpd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:httpd_t:s0
:Target Context                system_u:object_r:http_port_t:s0
:Target Objects                 [ None ]
:Source                        /usr/sbin/httpd
:Source Path                   /usr/sbin/httpd
:Port                          80
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    <Unknown>
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.2.2-1.fc16.i686.PAE
:                              #1 SMP Thu Jan 26 03:30:43 UTC 2012 i686 i686
:Alert Count                   5
:First Seen                    Tue 31 Jan 2012 08:49:47 AM CET
:Last Seen                     Tue 31 Jan 2012 08:50:28 AM CET
:Local ID                      10c9c41d-99e7-49c7-a928-7182dcea90e7
:
:Raw Audit Messages
:type=AVC msg=audit(1327996228.611:168): avc:  denied  { name_connect } for  pid=1519 comm="/usr/sbin/httpd" dest=80 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:http_port_t:s0 tclass=tcp_socketnode=(removed) type=SYSCALL msg=audit(1327996228.611:168): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=bf9da500 a2=b5e89ff4 a3=0 items=0 ppid=1358 pid=1519 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 tty=(none) ses=4294967295 comm="/usr/sbin/httpd" exe="/usr/sbin/httpd" subj=system_u:system_r:httpd_t:s0 key=(null)
:
:
:Hash: /usr/sbin/httpd,httpd_t,http_port_t,None,name_connect
:
:audit2allow
:
:
:audit2allow -R
:
:

Comment 1 Miroslav Grepl 2012-01-31 10:22:20 UTC

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