Bug 682219 - MLS -- AVCs appear when running: rpm -Uvh ...
Summary: MLS -- AVCs appear when running: rpm -Uvh ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: selinux-policy
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-04 13:55 UTC by Milos Malik
Modified: 2014-10-24 08:25 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.7.19-76.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 12:12:37 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0526 0 normal SHIPPED_LIVE selinux-policy bug fix and enhancement update 2011-05-19 09:37:41 UTC

Description Milos Malik 2011-03-04 13:55:23 UTC
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

Comment 1 Miroslav Grepl 2011-03-04 14:01:01 UTC
We have this in F14/F15. I have already fixed in F13. Will add also to RHEL6.

Comment 2 Miroslav Grepl 2011-03-08 16:52:23 UTC
Fixed in selinux-policy-3.7.19-76.el6

Comment 5 errata-xmlrpc 2011-05-19 12:12:37 UTC
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


Note You need to log in before you can comment on or make changes to this bug.