| Summary: | MLS -- AVCs appear when running: rpm -Uvh ... | ||
|---|---|---|---|
| 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:37 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
We have this in F14/F15. I have already fixed in F13. Will add also to RHEL6. 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 |
Description of problem: It seems that packages were upgraded correctly. The same AVCs appear during downgrade too. Version-Release number of selected component (if applicable): selinux-policy-doc-3.7.19-73.el6.noarch selinux-policy-3.7.19-73.el6.noarch selinux-policy-minimum-3.7.19-73.el6.noarch selinux-policy-targeted-3.7.19-73.el6.noarch selinux-policy-mls-3.7.19-73.el6.noarch How reproducible: always Steps to Reproduce: * get a RHEL-6 machine with active MLS policy * log in as root via console # id -Z root:sysadm_r:sysadm_t:s0-s15:c0.c1023 # rpm -Uvh selinux-policy-* Preparing... ########################################### [100%] 1:selinux-policy ########################################### [ 20%] 2:selinux-policy-doc ########################################### [ 40%] 3:selinux-policy-minimum ########################################### [ 60%] 4:selinux-policy-mls ########################################### [ 80%] 5:selinux-policy-targeted########################################### [100%] # Actual results: ---- time->Fri Mar 4 08:49:15 2011 type=SYSCALL msg=audit(1299246555.387:241): arch=c000003e syscall=62 success=yes exit=0 a0=6b9 a1=0 a2=bbd a3=1 items=0 ppid=2134 pid=3005 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS1 ses=3 comm="rpm" exe="/bin/rpm" subj=root:system_r:rpm_t:s0-s15:c0.c1023 key=(null) type=AVC msg=audit(1299246555.387:241): avc: denied { signull } for pid=3005 comm="rpm" scontext=root:system_r:rpm_t:s0-s15:c0.c1023 tcontext=system_u:system_r:initrc_t:s0-s15:c0.c1023 tclass=process ---- time->Fri Mar 4 08:49:41 2011 type=SYSCALL msg=audit(1299246581.100:242): arch=c000003e syscall=197 success=no exit=-61 a0=21ddc00 a1=3c14202f00 a2=3c0aad8395 a3=fefefefefefefeff items=0 ppid=2134 pid=3007 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=ttyS1 ses=3 comm="rpm" exe="/bin/rpm" subj=root:system_r:rpm_t:s0-s15:c0.c1023 key=(null) type=AVC msg=audit(1299246581.100:242): avc: denied { setfcap } for pid=3007 comm="rpm" capability=31 scontext=root:system_r:rpm_t:s0-s15:c0.c1023 tcontext=root:system_r:rpm_t:s0-s15:c0.c1023 tclass=capability ---- Expected results: no AVCs