Bug 1136992 - Can't create a CR with selinux enabled on RHEL 7
Summary: Can't create a CR with selinux enabled on RHEL 7
Keywords:
Status: CLOSED DUPLICATE of bug 1136991
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SELinux
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: Lukas Zapletal
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-03 19:08 UTC by Jason Montleon
Modified: 2014-09-03 19:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-03 19:09:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foreman debug (532.18 KB, application/octet-stream)
2014-09-03 19:08 UTC, Jason Montleon
no flags Details

Description Jason Montleon 2014-09-03 19:08:32 UTC
Created attachment 934209 [details]
foreman debug

Description of problem:
Trying to create a new Openstack CR in Sat 6 on RHEL 7

Version-Release number of selected component (if applicable):
Snap 7 Compose 3

How reproducible:
Always

Steps to Reproduce:
1. Set up Satellite 6 GA Snap 7 Compose 3
2. Attempt to add an Openstack CR
3. Test connection

Actual results:
Unable to save
Permission denied - connect(2) (Errno::EACCES)

Expected results:
Tenants load

Additional info:
Denial is:
type=AVC msg=audit(1409770421.707:2580): avc:  denied  { name_connect } for  pid=7002 comm="ruby" dest=5000 scontext=system_u:system_r:passenger_t:s0 tcontext=system_u:object_r:commplex_main_port_t:s0 tclass=tcp_socket

Need:
require {
	type commplex_main_port_t;
	type passenger_t;
	class tcp_socket name_connect;
}
allow passenger_t commplex_main_port_t:tcp_socket name_connect;

Comment 1 Jason Montleon 2014-09-03 19:09:45 UTC

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


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