Summary: SELinux is preventing /usr/sbin/mcelog "read" access on mem. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by mcelog. It is not expected that this access is required by mcelog and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context system_u:system_r:mcelog_t:s0-s15:c0.c1023 Target Context system_u:object_r:memory_device_t:s15:c0.c1023 Target Objects mem [ chr_file ] Source mcelog Source Path /usr/sbin/mcelog Port <Unknown> Host (removed) Source RPM Packages mcelog-0.9pre1-0.1.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-108.fc12 Selinux Enabled True Policy Type mls Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.32.11-99.fc12.x86_64 #1 SMP Mon Apr 5 19:59:38 UTC 2010 x86_64 x86_64 Alert Count 1 First Seen Dydd Mercher 14 mis Ebrill 2010 15:01:01 BST Last Seen Dydd Mercher 14 mis Ebrill 2010 15:01:01 BST Local ID 1bbc2bec-7d66-4ffe-95cb-fb80e64bb57b Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1271253661.209:674): avc: denied { read } for pid=19550 comm="mcelog" name="mem" dev=devtmpfs ino=3488 scontext=system_u:system_r:mcelog_t:s0-s15:c0.c1023 tcontext=system_u:object_r:memory_device_t:s15:c0.c1023 tclass=chr_file node=(removed) type=SYSCALL msg=audit(1271253661.209:674): arch=c000003e syscall=2 success=yes exit=3 a0=409e28 a1=0 a2=1000 a3=a items=0 ppid=19548 pid=19550 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=16 comm="mcelog" exe="/usr/sbin/mcelog" subj=system_u:system_r:mcelog_t:s0-s15:c0.c1023 key=(null) Hash String generated from catchall,mcelog,mcelog_t,memory_device_t,chr_file,read audit2allow suggests: #============= mcelog_t ============== #!!!! This avc is a constraint violation. You will need to add an attribute to either the source or target type to make it work. allow mcelog_t memory_device_t:chr_file read;
Miroslav can you add mls_file_read_all_levels(mcelog_t)
Fixed in selinux-policy-3.6.32-112.fc12
selinux-policy-3.6.32-113.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-113.fc12
selinux-policy-3.6.32-113.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.