Bug 1551568
Summary: | Cannot execute mdadm when policy is MLS | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Renaud Métrich <rmetrich> | |
Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> | |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 7.6 | CC: | lvrabec, mgrepl, mmalik, plautrba, ssekidde | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | selinux-policy-3.13.1-197.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1551569 (view as bug list) | Environment: | ||
Last Closed: | 2018-10-30 10:03:08 UTC | Type: | Bug | |
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: | 1551569 |
Description
Renaud Métrich
2018-03-05 12:30:23 UTC
# id -Z root:sysadm_r:sysadm_t:s0 # sestatus SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: mls Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: denied Max kernel policy version: 31 # mdadm /dev/vda /dev/vda: is not an md array # mdadm Usage: mdadm --help for help # Unfortunately, if the daemons_use_tty boolean is disabled, then mdadm is completely silent: # setsebool daemons_use_tty off # mdadm # mdadm --help # mdadm /dev/vda # Either the need to use the boolean is documented or policy needs to be improved. # rpm -qa selinux\* selinux-policy-sandbox-3.13.1-226.el7.noarch selinux-policy-targeted-3.13.1-226.el7.noarch selinux-policy-doc-3.13.1-226.el7.noarch selinux-policy-mls-3.13.1-226.el7.noarch selinux-policy-3.13.1-226.el7.noarch selinux-policy-devel-3.13.1-226.el7.noarch # Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:3111 |