Bug 681887
Summary: | MLS -- AVCs appear when running: kpartx -v /dev/sda | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Milos Malik <mmalik> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.1 | CC: | dwalsh, mgrepl |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.7.19-76.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 12:12:35 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: |
Description
Milos Malik
2011-03-03 14:37:30 UTC
If you label this lvm_exec_t does it work? If I change the label of /sbin/kpartx to lvm_exec_t, only 1 AVC appears when running kpartx -v /dev/sda. Here is the AVC: type=1400 audit(1299229175.589:12470): avc: denied { ipc_info } for pid=2347 comm="kpartx" scontext=root:sysadm_r:lvm_t:s0-s15:c0.c1023 tcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=system The AVC is very similar to one mentioned in bug report https://bugzilla.redhat.com/show_bug.cgi?id=681882 . kernel_get_sysvipc_info(lvm_t) will be added to lvm policy. Could you test it with this rule in a local policy module. No AVCs appear when following local policy is loaded: policy_module(testpolicy,1.0) require { type lvm_t; } kernel_get_sysvipc_info(lvm_t) Great. Thanks. *** Bug 681882 has been marked as a duplicate of this bug. *** Fixed in selinux-policy-3.7.19-76.el6 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0526.html |