Summary: SELinux is preventing /sbin/mdadm "read" access on libvirt. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by mdadm. It is not expected that this access is required by mdadm 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:mdadm_t:s0-s0:c0.c1023 Target Context system_u:object_r:hugetlbfs_t:s0 Target Objects libvirt [ dir ] Source mdadm Source Path /sbin/mdadm Port <Unknown> Host (removed) Source RPM Packages mdadm-3.1.3-0.git20100804.2.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.0-2.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.35.4-12.fc14.x86_64 #1 SMP Fri Aug 27 07:45:05 UTC 2010 x86_64 x86_64 Alert Count 10 First Seen Tue 31 Aug 2010 11:44:45 AM EDT Last Seen Tue 31 Aug 2010 11:48:22 AM EDT Local ID 9adf4019-580c-48e8-be44-9aeaa0ed0656 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1283269702.306:119): avc: denied { read } for pid=311 comm="mdadm" name="libvirt" dev=hugetlbfs ino=22626 scontext=system_u:system_r:mdadm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hugetlbfs_t:s0 tclass=dir node=(removed) type=AVC msg=audit(1283269702.306:119): avc: denied { open } for pid=311 comm="mdadm" name="libvirt" dev=hugetlbfs ino=22626 scontext=system_u:system_r:mdadm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hugetlbfs_t:s0 tclass=dir node=(removed) type=SYSCALL msg=audit(1283269702.306:119): arch=c000003e syscall=257 success=yes exit=6 a0=5 a1=20115af a2=10800 a3=0 items=0 ppid=32623 pid=311 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="mdadm" exe="/sbin/mdadm" subj=system_u:system_r:mdadm_t:s0-s0:c0.c1023 key=(null) Hash String generated from catchall,mdadm,mdadm_t,hugetlbfs_t,dir,read audit2allow suggests: #============= mdadm_t ============== allow mdadm_t hugetlbfs_t:dir { read open };
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.9.1-3.fc14
selinux-policy-3.9.3-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-4.fc14
selinux-policy-3.9.3-4.fc14 has been pushed to the Fedora 14 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: https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-4.fc14
selinux-policy-3.9.3-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.