Bug 599540
| Summary: | /etc/xen/auto SElinux label prevents xm from accessing it | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Tamas Vincze <tom> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | 5.5 | CC: | dwalsh |
| 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-06-03 15:21:00 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: | |||
What policy version are you running? selinux-policy-2.4.6-279.el5 Tamas, it will fix in selinux-policy-2.4.6-280.el5.noarch Preview is available on http://people.redhat.com/dwalsh/SELinux/RHEL5/noarch *** This bug has been marked as a duplicate of bug 579497 *** |
ls -laZ /etc/xen/auto drwxr-xr-x root root system_u:object_r:virt_etc_rw_t . drwx------ root root system_u:object_r:virt_etc_t .. lrwxrwxrwx root root user_u:object_r:etc_t files -> ../files lrwxrwxrwx root root root:object_r:virt_etc_rw_t ha -> ../ha 'xendomains start' fires up 'files' but cannot open the config file for 'ha'. 'xm create ha' works fine. 'service xendomains status' prints: Checking for xendomains: filesError: Unable to open config file: /etc/xen/auto/ha mailgw MISS AUTO: [dead] [FAILED] AVC denial: type=AVC msg=audit(1275571307.822:96): avc: denied { read } for pid=6514 comm="xm" name="ha" dev=dm-0 ino=819738 scontext=user_u:system_r:xm_t:s0 tcontext=root:object_r:virt_etc_rw_t:s0 tclass=lnk_file https://bugzilla.redhat.com/show_bug.cgi?id=554777 is closed, but describes the same problem.