| Summary: | VDSM needs better sellinux policy | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Saggi Mizrahi <smizrahi> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | abaron, bazulay, cpelland, danken, dwalsh, iheim, ykaul |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-06 13:04:17 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 682015 | ||
|
Description
Saggi Mizrahi
2011-08-23 17:00:52 UTC
our policy only covers /rhev directory system_u:object_r:mnt_t:s0 /rhev(/[^/]*)? directory system_u:object_r:mnt_t:s0 this means that files are only covered this far /rhev/datacenter/*/ we need to add /rhev/datacenter/*/blockSD and the rest of the tree The fix is that everything under /rhev/* should get the mnt_t context. (In reply to comment #7) > The fix is that everything under /rhev/* should get the mnt_t context. everything under /rhev/* *recursively* should get the mnt_t context. Yes, labels are not changed because of /rhev/[^/]*/.* <<none>> which says labels won't be changed. If you mount it with enabled SELinux it will work correct. Otherwise you can re-mount /rhev or use chcon -R -t mnt_t /rhev |