Bug 1560816
Summary: | SELinux is preventing mdadm from 'read' accesses on the blk_file md0p1. | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Subhendu Ghosh <sghosh> | |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> | |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 27 | CC: | dwalsh, lvrabec, mgrepl, plautrba, pmoore | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Unspecified | |||
Whiteboard: | abrt_hash:192f39d4856784752974a9b5c40018644de78dd59fc3da60b0b3490b9de13176;VARIANT_ID=workstation; | |||
Fixed In Version: | selinux-policy-3.13.1-283.30.fc27 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1758985 (view as bug list) | Environment: | ||
Last Closed: | 2018-04-01 20:14:08 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: | 1758985 |
Description
Subhendu Ghosh
2018-03-27 03:01:23 UTC
# cat my-mdadm3.te module my-mdadm3 1.0; require { type fixed_disk_device_t; type mdadm_exec_t; type pcp_pmcd_t; class file map; class blk_file read; } #============= pcp_pmcd_t ============== allow pcp_pmcd_t fixed_disk_device_t:blk_file read; #!!!! This avc is allowed in the current policy allow pcp_pmcd_t mdadm_exec_t:file map; # semodule -i my-mdadm3.pp neverallow check failed at /var/lib/selinux/targeted/tmp/modules/100/base/cil:13265 (neverallow base_typeattr_15 fixed_disk_device_t (blk_file (read))) <root> allow at /var/lib/selinux/targeted/tmp/modules/400/my-mdadm3/cil:4 (allow pcp_pmcd_t fixed_disk_device_t (blk_file (read))) Failed to generate binary semodule: Failed! selinux-policy-3.13.1-283.30.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3791c3118 selinux-policy-3.13.1-283.30.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b3791c3118 selinux-policy-3.13.1-283.30.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |