Hide Forgot
When oops is detected, abrt wants to save /var/log/mcelog file to abrt's problem directory, but cannot: "Permission denied" audit.log contains this: type=AVC msg=audit(1384354858.293:185): avc: denied { read } for pid=16409 comm="cp" name="mcelog" dev=dm-0 ino=917607 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mcelog_log_t:s0 tclass=file type=SYSCALL msg=audit(1384354858.293:185): arch=40000003 syscall=5 success=no exit=-13 a0=bfecde59 a1=8000 a2=0 a3=1a4 items=0 ppid=16407 pid=16409 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="cp" exe="/bin/cp" subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null) Please allow reading of this file from this context. Or even from all contexts with uid=0: the file does not reveal any secrets. "Your DIMM#2 is having ECC errors" is not a security leak.
a43e87245ed4347c35a69eac0900194d645098dc fixes this in git.
$ sesearch -s abrt_t -t mcelog_log_t -c file -p read -A -C Found 1 semantic av rules: allow abrt_t mcelog_log_t : file { ioctl read getattr lock open } ; I'll send patch.
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-2014-1568.html