Issue #704
closed
Incorrect file transition for celery pid file
Status:
CLOSED - CURRENTRELEASE
Description
Description of problem:
Celerybeat.pid file has incorrect file label.
Version-Release number of selected component (if applicable):
How reproducible:
Always.
Steps to Reproduce:
1. Install pulp
2. Start
3. Do dry run of restorecon: restorecon -rvn /
Actual results:
...
restorecon reset /var/lib/pulp/celery/celerybeat.pid context system_u:object_r:init_var_lib_t:s0->system_u:object_r:var_lib_t:s0
...
Expected results:
No pulp files are changed.
Additional info:
+ This bug was cloned from Bugzilla Bug #1193794 +
I have an F20 box with following packages installed:
pulp-selinux.noarch 2.6.0-0.5.beta.fc20 @pulp-2.6-testing
pulp-server.noarch 2.6.0-0.5.beta.fc20 @pulp-2.6-testing
Here are the labels I am seeing for the celerybeat.pid
[root@pulp-f-20 celery]# ls laZ
drwxr-xr-x. apache apache system_u:object_r:httpd_sys_rw_content_t:s0 .
drwxr-xr-x. apache apache system_u:object_r:httpd_sys_rw_content_t:s0 ..
-rw-r--r-. apache apache system_u:object_r:httpd_sys_rw_content_t:s0 celerybeat.pid
+ This comment was cloned from Bugzilla #1193794 comment 2 +
My only expectation is that restorecon does not actually restore. The fix would be to either modify .fc file contexts or to setup a file transition to drop the file with expected label.
On the Fedora box, try to run the restorecon to see what it does.
+ This comment was cloned from Bugzilla #1193794 comment 4 +
On my fedora box restorecon didn't change anything. The same labels remain.
+ This comment was cloned from Bugzilla #1193794 comment 5 +
Guys, sorry I should clarify this earlier. This is RHEL 7.0. Btw this is low priority - Pulp is operating properly. Cosmetic issue.
+ This comment was cloned from Bugzilla #1193794 comment 6 +
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- Severity changed from Low to 1. Low
- Platform Release set to 2.7.0
- Status changed from MODIFIED to 5
- Status changed from 5 to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF