Bug 512855 - mcelog generates selinux avc messages
Summary: mcelog generates selinux avc messages
Keywords:
Status: CLOSED DUPLICATE of bug 512856
Alias: None
Product: Fedora
Classification: Fedora
Component: mcelog
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jon Masters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-21 00:51 UTC by S.A. Hartsuiker
Modified: 2009-07-21 10:30 UTC (History)
1 user (show)

Fixed In Version:
Clone Of: 506189
Environment:
Last Closed: 2009-07-21 10:30:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


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