Red Hat Bugzilla – Bug 685127
Matahari should not be in the Minimal install
Last modified: 2016-04-26 11:11:54 EDT
Description of problem: Following AVC appears avery 2-3 seconds in the audit.log. Probably should be don'taudited. type=AVC msg=audit(1300188415.925:53): avc: denied { read } for pid=1181 comm="matahari-hostd" name="mtrr" dev=proc ino=4026531941 scontext=system_u:system_r:initrc_t:s0-s15:c0.c1023 tcontext=system_u:object_r:mtrr_device_t:s0 tclass=file type=SYSCALL msg=audit(1300188415.925:53): arch=c000003e syscall=2 success=no exit=-13 a0=7fedc33f0392 a1=0 a2=1b6 a3=0 items=1 ppid=1 pid=1181 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="matahari-hostd" exe="/usr/sbin/matahari-hostd" subj=system_u:system_r:initrc_t:s0-s15:c0.c1023 key=(null) type=CWD msg=audit(1300188415.925:53): cwd="/" type=PATH msg=audit(1300188415.925:53): item=0 name="/proc/mtrr" inode=4026531941 dev=00:03 mode=0100644 ouid=0 ogid=0 rdev=00:00 obj=system_u:object_r:mtrr_device_t:s0 Version-Release number of selected component (if applicable): selinux-policy-mls-3.7.19-78 How reproducible: always Steps to Reproduce: 1. install fresh RHEL6.1-20110311.3 with mls policy
Looks like we need policy for matahari-hostd. I don't think we want to add random dontaudit for MLS policy. If you install an app that is not supported on MLS, we have to write policy for it.
Well, matahari-hostd is a part of the minimal install, I didn't choose to install install it explicitely. Threfore I thought it was intentional to not have a policy.
Well I just wrote initial matahari policy in F15, We will need to get this back ported to RHEL6. But I don't believe that matahari should be in the minimal install since I don't think MLS people will want it there.
Regarding comment #2, how did matahari get in minimal install? It should not be there.
Karel, Please do another install. This time, before the reboot at the end of the install, switch to terminal two and grab /tmp/yum.log. That should tell us why matahari is getting pulled in. Thanks -- Dennis
Also - is this using only @core for package selection ? or @base ?
Created attachment 485938 [details] yum.log from RHEL6.1-20110315.0 minimal install yum.log attached
Created attachment 486026 [details] patch (comps) I think the issue is that client-mgmt-tools is defaulted to on in the variants file, but is not listed in the product installclass files. This means it's not disabled when minimal is chosen. Patch attached.
*** Bug 693356 has been marked as a duplicate of this bug. ***
patch applied. will appear in the next compose.
Tested with snap #4. Did a Minimal install and matahari wasn't installed. Moving to VERIFIED.
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/RHEA-2011-0540.html