Bug 592947
| Summary: | service xendomains status - fails due to selinux, can't read xen config file | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | David Kovalsky <dkovalsk> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.5 | CC: | benl, xen-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-05-17 16:40:10 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: | |||
Miroslav add manage_lnk_files_pattern($1, virt_etc_rw_t, virt_etc_rw_t) To virt_manage_config *** This bug has been marked as a duplicate of bug 579497 *** |
I've noticed that in 5.5 `service xendomains status' doesn't work. Returns 1. # service xendomains status Checking for xendomains:Error: Unable to open config file: /etc/xen/auto/private.xen .... MISS AUTO: [dead] [FAILED] # echo $? 1 /var/log/audit/audit.log contains these entries. 14508 type=AVC msg=audit(1274100371.856:18735): avc: denied { read } for pid=10953 comm="xm" name="private.xen" dev=md3 ino=246341 scontext=root:system_r:xm_t:s0 tcontext=system_u:object_r:virt_etc_rw_t:s0 tclass=lnk_file