Bug 1006370
| Summary: | The openstack-selinux policies need to be updated for the quantum -> neutron rename | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Lon Hohberger <lhh> | ||||||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||||
| Status: | CLOSED ERRATA | QA Contact: | Michal Trunecka <mtruneck> | ||||||||
| Severity: | high | Docs Contact: | |||||||||
| Priority: | high | ||||||||||
| Version: | 6.5 | CC: | dwalsh, ebenes, mangelajo, mgrepl, mmalik, mtruneck, sandro, tlavigne, twilson, yeylon | ||||||||
| Target Milestone: | beta | ||||||||||
| Target Release: | 6.5 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Linux | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | selinux-policy-3.7.19-217.el6 | Doc Type: | Bug Fix | ||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | 996776 | ||||||||||
| : | 1013636 (view as bug list) | Environment: | |||||||||
| Last Closed: | 2013-11-21 10:51:04 UTC | Type: | Bug | ||||||||
| Regression: | --- | Mount Type: | --- | ||||||||
| Documentation: | --- | CRM: | |||||||||
| Verified Versions: | Category: | --- | |||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||
| Embargoed: | |||||||||||
| Bug Depends On: | 996776 | ||||||||||
| Bug Blocks: | 1013636 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Lon Hohberger
2013-09-10 14:03:02 UTC
Created attachment 796020 [details]
Patch from upstream which resolves the problem
Created attachment 796034 [details]
Untested backport
Side note: we do want contexts for both Quantum and Neutron at the same time - Dan's original patch and my backport attempt to do this. We also had this in the existing openstack-selinux policy: https://github.com/lhh/openstack-selinux/blob/master/openstack-selinux-quantum.te Perhaps these small fixes could be merged. Created attachment 799561 [details]
Tested backport
Test repository: http://people.redhat.com/lhh/selinux-policy/ Miroslav also did a build for this; I'll update the repository with his patch/build. Has been already added. Following 3 types were not renamed. Is it expected? # rpm -qa selinux-policy\* selinux-policy-doc-3.7.19-228.el6.noarch selinux-policy-mls-3.7.19-228.el6.noarch selinux-policy-minimum-3.7.19-228.el6.noarch selinux-policy-3.7.19-228.el6.noarch selinux-policy-targeted-3.7.19-228.el6.noarch # sestatus SELinux status: enabled SELinuxfs mount: /selinux Current mode: enforcing Mode from config file: enforcing Policy version: 24 Policy from config file: targeted # for I in -t -a -r -u -b -c --portcon ; do seinfo $I | grep -i quantum ; done quantum_port_t quantum_server_packet_t quantum_client_packet_t portcon tcp 9696 system_u:object_r:quantum_port_t:s0 # We probably should rename them and add appropriate alias. Yes but I don't see as a big problem in RHEL6.5 now.
3d3549c0bdd84af83fe6d1f4f3c9379e65a8f73a
5648a674bcbedaaf89317cde3a2f38a2b206543f
Fix this in git.
Miroslav we should rename the module in F20 also.
I filed the last mentioned issue as a separate Bug 1024927. 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 |