Bug 1125334
| Summary: | Package pulp-selinux is installed but not effective | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Lukas Zapletal <lzap> |
| Component: | rpm-support | Assignee: | Brian Bouterse <bmbouter> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 2.4 Beta | CC: | bbuckingham, bkearney, bmbouter, cwelton, katello-qa-list, mhrivnak, pthomas, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 2.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1101280 | Environment: | |
| Last Closed: | 2014-11-24 21:33:41 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: | 1101280, 1142881 | ||
| Bug Blocks: | |||
|
Comment 1
Lukas Zapletal
2014-07-31 15:18:25 UTC
PR available at: https://github.com/pulp/pulp/pull/1145 To verify this bug there are a few things to check. Here are some steps: Pre setup before any test area below 1. Ensure pulp-selinux is installed 2. Reboot all pulp_* services ==Ensure the processes are contained== 1. list the celery processes with their SELinux context info included by running `ps -awfuxZ | grep celery` 2. In the output from step 3, verify that each line contains "system_u:system_r:celery_t:s0". The important part is "celery_t". ==Ensure both pulp-server and pulp-celery selinux policies are installed== 1. List the current selinux policies installed and enabled by running: `sudo semodule -l | grep pulp` 2. Verify that the output of step 1 includes "pulp-server 2.5.0" and "pulp-celery 2.5.0" ==Ensure the Uninstall removes pulp-server and pulp-celery== 1. Uninstall pulp-selinux 2. Run `sudo semodule -l | grep pulp` 3. Verify that no output is produced ==Verify everything works== 1. Put selinux into enforcing mode `sudo setenforce 1` 2. Verify that it is in enforcing mode by checking the output is 1 from `sudo getenfroce` 3. Now do everything with pulp ;-) 4. I expect all Pulp operations should work. *correct from the above comment* Step 2 (at the bottom) should read: `sudo getenforce` Merged to 2.5-testing -> 2.5-dev -> master build: 2.5.0-0.6.beta verified [root@cloud-qe-15 ~]# rpm -qa pulp-selinux pulp-selinux-2.5.0-0.6.beta.el7.noarch [root@cloud-qe-15 ~]# Followed https://bugzilla.redhat.com/show_bug.cgi?id=1125334#c3 on el6 & el7 [root@mgmt4 ~]# rpm -qa pulp-selinux pulp-selinux-2.5.0-0.6.beta.el6.noarch [root@mgmt4 ~]# |