Bug 889348 - Make SElinux setting for horizon persistent
Summary: Make SElinux setting for horizon persistent
Keywords:
Status: CLOSED DUPLICATE of bug 889224
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: doc-Getting_Started_Guide
Version: 2.0 (Folsom)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Bruce Reeler
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-20 21:34 UTC by Bob Kukura
Modified: 2016-04-26 17:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-24 22:00:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bob Kukura 2012-12-20 21:34:39 UTC
Description of problem: 

Chapter 8 should say "sudo setsebool -P httpd_can_network_connect on" instead of "sudo setsebool httpd_can_network_connect on" so the setting persists after reboot.


Version-Release number of selected component (if applicable):


How reproducible: 100%


Steps to Reproduce:
1. follow guide, verify can log into horizon
2. reboot
3. try to login to horizon
  
Actual results: Can't login


Expected results: Can login


Additional info:

Comment 2 Perry Myers 2012-12-20 22:48:21 UTC
@rkukura: Shouldn't we have a way of making this change via the RPM installation of a customized selinux policy for us vs. making this a manual step for the user to execute?

Comment 3 Bob Kukura 2012-12-21 13:40:25 UTC
pmyers: If a customized policy could apply to just horizon, and not to other web content hosted by the same server, then that would make sense. But this boolean applies to all web content, so I don't think just installing the RPM should implicitly compromise the system's security. I'm wondering what the precedent is for other packages that install web content? Does just installing the RPM make the content available, like horizon does now, or is there generally an explicit configuration step to publish the content? Maybe we should provide a setup script to publish the content, configure httpd if needed, and set the boolean.

Comment 4 Stephen Gordon 2013-01-24 22:00:52 UTC

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


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