Bug 628551
Summary: | Selinux denial during ks distro creation | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Petr Sklenar <psklenar> |
Component: | Server | Assignee: | Petr Sklenar <psklenar> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 1.1 | CC: | jpazdziora |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-02-08 08:41:36 UTC | Type: | --- |
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: | |||
Bug Blocks: | 653453 |
Description
Petr Sklenar
2010-08-30 11:24:07 UTC
Mass-moving to space13. FYI this bug is still present on sw12 installed on F13: type=AVC msg=audit(1290595671.434:46358): avc: denied { write } for pid=26481 comm="cobblerd" name="cobbler" dev=dm-0 ino=270738 scontext=unconfined_u:system_r:cobblerd_t:s0 tcontext=system_u:object_r:httpd_sys_content_t:s0 tclass=dir type=AVC msg=audit(1290595671.434:46358): avc: denied { add_name } for pid=26481 comm="cobblerd" name="rendered" scontext=unconfined_u:system_r:cobblerd_t:s0 tcontext=system_u:object_r:httpd_sys_content_t:s0 tclass=dir type=AVC msg=audit(1290595671.434:46358): avc: denied { create } for pid=26481 comm="cobblerd" name="rendered" scontext=unconfined_u:system_r:cobblerd_t:s0 tcontext=unconfined_u:object_r:httpd_sys_content_t:s0 tclass=dir type=AVC msg=audit(1290595671.439:46359): avc: denied { link } for pid=26481 comm="cobblerd" name="vmlinuz" dev=dm-0 ino=794835 scontext=unconfined_u:system_r:cobblerd_t:s0 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file -- location of distro is in tmp directory -- I want to point out that this works well on rhel5 but not on F13 The real fix is to chcon the /test to cobbler_tmp_t or some similar type which cobbler can read. The problem only appears on Fedora because on RHEL 5, cobblerd is running unconfined. This bug has been fixed in Spacewalk 1.3. |