Bug 711725
Summary: | Are iprinit, iprdump and iprupdate services supported in MLS policy ? | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Milos Malik <mmalik> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.7 | CC: | dwalsh |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | ppc64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-2.4.6-314.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-07-21 09:20:48 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-06-08 09:27:03 UTC
Could you try the same fix which we added to RHEL6. # ls -Z /sbin/ipr* -rwxr-xr-x root root system_u:object_r:sbin_t:SystemLow /sbin/iprconfig -rwx------ root root system_u:object_r:sbin_t:SystemLow /sbin/iprdbg -rwxr-xr-x root root system_u:object_r:mdadm_exec_t:SystemLow /sbin/iprdump -rwxr-xr-x root root system_u:object_r:mdadm_exec_t:SystemLow /sbin/iprinit -rwxr-xr-x root root system_u:object_r:mdadm_exec_t:SystemLow /sbin/iprupdate # run_init service iprinit start Authenticating root. Password: Starting ipr initialization daemon[ OK ] # run_init service iprupdate start Authenticating root. Password: Checking ipr microcode levels Completed ipr microcode updates[ OK ] # run_init service iprdump start Authenticating root. Password: Starting ipr dump daemon[ OK ] # ausearch -m avc -m user_avc -ts recent ---- time->Wed Jun 8 06:19:06 2011 type=SYSCALL msg=audit(1307528346.879:497): arch=14 syscall=5 success=no exit=-13 a0=10031220 a1=2 a2=0 a3=0 items=0 ppid=3654 pid=3655 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="iprinit" exe="/sbin/iprinit" subj=system_u:system_r:mdadm_t:s0-s15:c0.c1023 key=(null) type=AVC msg=audit(1307528346.879:497): avc: denied { read write } for pid=3655 comm="iprinit" name="sda" dev=tmpfs ino=13892 scontext=system_u:system_r:mdadm_t:s0-s15:c0.c1023 tcontext=system_u:object_r:fixed_disk_device_t:s15:c0.c1023 tclass=blk_file ---- time->Wed Jun 8 06:19:18 2011 type=SYSCALL msg=audit(1307528358.628:500): arch=14 syscall=5 success=no exit=-13 a0=10041220 a1=2 a2=ffb3fa94 a3=18 items=0 ppid=3672 pid=3673 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm="iprupdate" exe="/sbin/iprupdate" subj=system_u:system_r:mdadm_t:s0-s15:c0.c1023 key=(null) type=AVC msg=audit(1307528358.628:500): avc: denied { read write } for pid=3673 comm="iprupdate" name="sda" dev=tmpfs ino=13892 scontext=system_u:system_r:mdadm_t:s0-s15:c0.c1023 tcontext=system_u:object_r:fixed_disk_device_t:s15:c0.c1023 tclass=blk_file ---- # Ok, we have these rules in RHEL6. Fixed in selinux-policy-2.4.6-312.el5 Ok, I also need to add mls_file_read_all_levels(mdadm_t) mls_file_write_all_levels(mdadm_t) 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-1069.html 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-1069.html |