Bug 512855

Summary: mcelog generates selinux avc messages
Product: [Fedora] Fedora Reporter: S.A. Hartsuiker <s.a.hartsuiker>
Component: mcelogAssignee: Jon Masters <jonathan>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: jonathan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 506189 Environment:
Last Closed: 2009-07-21 10:30:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description S.A. Hartsuiker 2009-07-21 00:51:52 UTC
Description of problem:
Since mcelog gets run from cron it now has a selinux trasition problem I think

Version-Release number of selected component (if applicable):
mcelog-0.7-3.fc11.x86_64

How reproducible:
Install mcelog with selinux enabled (permissive of enforcing)

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Every hour mcelog generates an avc message

Expected results:
no avc's

Additional info:
Based on comment #1 in #509275 I'm filing the bug against mcelog.
I don't know if this is correct though, maybe it should be filed against selinux?

Raw Audit Messages :
node=server type=AVC msg=audit(1248134461.776:154): avc: denied { read write } for pid=4486 comm="mcelog" path="socket:[58278]" dev=sockfs ino=58278 scontext=system_u:system_r:dmesg_t:s0-s0:c0.c1023 tcontext=system_u:system_r:crond_t:s0-s0:c0.c1023 tclass=tcp_socket 

node=server type=SYSCALL msg=audit(1248134461.776:154): arch=c000003e syscall=59 success=yes exit=0 a0=b0bdf0 a1=b0ab80 a2=b0a7b0 a3=20 items=0 ppid=4484 pid=4486 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=21 comm="mcelog" exe="/usr/sbin/mcelog" subj=system_u:system_r:dmesg_t:s0-s0:c0.c1023 key=(null)

Comment 1 S.A. Hartsuiker 2009-07-21 10:27:55 UTC
Ik think this is also a duplicate of bug 506189

Comment 2 S.A. Hartsuiker 2009-07-21 10:30:22 UTC
Hmm, copy-paste error
bug 512856 is the one I mean

Comment 3 S.A. Hartsuiker 2009-07-21 10:30:49 UTC

*** This bug has been marked as a duplicate of bug 512856 ***