Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1011973 - Port 9000 needs to be http_port_t
Port 9000 needs to be http_port_t
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy (Show other bugs)
6.4
All Linux
unspecified Severity unspecified
: rc
: ---
Assigned To: Miroslav Grepl
Michal Trunecka
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-25 09:26 EDT by Remi Collet
Modified: 2014-09-30 19:35 EDT (History)
6 users (show)

See Also:
Fixed In Version: selinux-policy-3.7.19-218.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-21 05:52:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1598 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2013-11-20 16:39:24 EST

  None (edit)
Description Remi Collet 2013-09-25 09:26:05 EDT
php-fpm listen (default configuration) on port 9000

On RHEL-7, 
# semanage port -l  | grep http_port
http_port_t                    tcp      80, 81, 443, 488, 8008, 8009, 8443, 9000

So Apache (via mod_proxy_cfgi) is able to connect to php-fpm

On RHEL-6
http_port_t                    tcp      80, 81, 443, 488, 8008, 8009, 8443

So connection is not allowed

type=AVC msg=audit(1380108605.792:25270): avc:  denied  { name_connect } for  pid=11970 comm="httpd" dest=9000 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:port_t:s0 tclass=tcp_socket

Connection can be allowed using:
# semanage port -a -t http_port_t -p tcp 9000


P.S. httpd 2.2 in RHEL-6 don't have mod_proxy_fcgi, but httpd24-httpd (in RHSCL) will have it.
Comment 4 errata-xmlrpc 2013-11-21 05:52:56 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1598.html

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