Bug 709370 - enforcing MLS: mcelog AVC appears
enforcing MLS: mcelog AVC appears
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: selinux-policy (Show other bugs)
5.7
All Linux
medium Severity medium
: rc
: ---
Assigned To: Miroslav Grepl
Milos Malik
:
Depends On:
Blocks: 772956
  Show dependency treegraph
 
Reported: 2011-05-31 10:29 EDT by Milos Malik
Modified: 2012-02-21 00:46 EST (History)
4 users (show)

See Also:
Fixed In Version: selinux-policy-2.4.6-326.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-02-21 00:46:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Milos Malik 2011-05-31 10:29:46 EDT
Description of problem:


Version-Release number of selected component (if applicable):
selinux-policy-minimum-2.4.6-306.el5
selinux-policy-targeted-2.4.6-306.el5
selinux-policy-devel-2.4.6-306.el5
selinux-policy-strict-2.4.6-306.el5
selinux-policy-mls-2.4.6-306.el5
selinux-policy-2.4.6-306.el5

How reproducible:
not sure

Actual results:
----
time->Tue May 31 10:01:01 2011
type=SYSCALL msg=audit(1306850461.963:83): arch=c000003e syscall=2 success=no exit=-13 a0=406a67 a1=0 a2=331e953990 a3=63656420494d4420 items=0 ppid=3054 pid=3057 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="mcelog" exe="/usr/sbin/mcelog" subj=system_u:system_r:system_crond_t:s0-s15:c0.c1023 key=(null)
type=AVC msg=audit(1306850461.963:83): avc:  denied  { read } for  pid=3057 comm="mcelog" name="mcelog" dev=tmpfs ino=3066 scontext=system_u:system_r:system_crond_t:s0-s15:c0.c1023 tcontext=system_u:object_r:printk_device_t:s15:c0.c1023 tclass=chr_file
----

Expected results:
no AVCs
Comment 1 Milos Malik 2011-05-31 10:33:53 EDT
I though 2 same AVCs appeared but this is different from the previous one:
----
time->Tue May 31 10:01:01 2011
type=SYSCALL msg=audit(1306850461.963:82): arch=c000003e syscall=2 success=no exit=-13 a0=408270 a1=0 a2=3 a3=2d items=0 ppid=3054 pid=3057 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="mcelog" exe="/usr/sbin/mcelog" subj=system_u:system_r:system_crond_t:s0-s15:c0.c1023 key=(null)
type=AVC msg=audit(1306850461.963:82): avc:  denied  { read } for  pid=3057 comm="mcelog" name="mem" dev=tmpfs ino=2011 scontext=system_u:system_r:system_crond_t:s0-s15:c0.c1023 tcontext=system_u:object_r:memory_device_t:s15:c0.c1023 tclass=chr_file
----
Comment 2 Daniel Walsh 2011-05-31 10:58:04 EDT
The problem is we do not have mcelog policy in RHEL5.  Not sure if mcelog is supposed to be run on an MLS box though.
Comment 3 Miroslav Grepl 2011-11-10 08:01:31 EST
I think I could add it to make this working. We have it also in Fedora/RHEL6
Comment 4 Daniel Walsh 2011-11-10 08:12:58 EST
ok
Comment 5 Miroslav Grepl 2011-11-29 11:37:29 EST
Fixed in selinux-policy-2.4.6-320.el5
Comment 9 Miroslav Grepl 2011-12-22 05:32:47 EST
These are specific for RHEL5 which we need to add.
Comment 10 Miroslav Grepl 2012-01-05 06:38:31 EST
Fixed in selinux-policy-2.4.6-324.el5
Comment 16 Miroslav Grepl 2012-01-18 06:25:44 EST
Fixed in selinux-policy-2.4.6-326.el5
Comment 18 errata-xmlrpc 2012-02-21 00:46:54 EST
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.

http://rhn.redhat.com/errata/RHBA-2012-0158.html

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