Hide Forgot
Description of problem: on freshly installed fedora rawhide, mcelog generates these three kinds of AVCs: 1. if file /var/run/mcelog.pid is not present: type=AVC msg=audit(1322149270.300:18): avc: denied { create } for pid=650 comm="mcelog" name="mcelog.pid" scontext=system_u:system_r:mcelog_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file 2. if create is allowed then this one pops up: type=AVC msg=audit(1322146088.957:78): avc: denied { write open } for pid=1163 comm="mcelog" name="mcelog.pid" dev=tmpfs ino=19164 scontext=system_u:system_r:mcelog_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file 3. if file is created manually (IIRC) type=AVC msg=audit(1322146909.437:126): avc: denied { unlink } for pid=1163 comm="mcelog" name="mcelog.pid" dev=tmpfs ino=19164 scontext=system_u:system_r:mcelog_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file Version-Release number of selected component (if applicable): mcelog-1.0-0.3.6e4e2a00.fc17.x86_64 How reproducible: always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
After further investigation, it seems that the only problem is wrong context on /var/run/mcelog.pid, once it is fixed, AVCs disappear. Closing as not a bug.
Fixed in rawhide.
What about F16? https://bugzilla.redhat.com/show_bug.cgi?id=757041 ^ "type=AVC msg=audit(1322130010.286:5664): avc: denied { getattr } for pid=14989 comm="mcelog" path="/run/mcelog.pid" dev=tmpfs ino=27703564 scontext=system_u:system_r:mcelog_t:s0 tcontext=system_u:object_r:var_run_t:s0 tclass=file"
Fixed there also, yum update
(In reply to comment #3) > What about F16? Seen also in F15. > Closing as not a bug. Seriously?
You are seeing this bug in F16 and F15?
On my F16 box I see them labeled correctly. selinux-policy-3.10.0-71
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
Should this be open or closed at this point? P.