Summary: SELinux is preventing /usr/bin/perl "getattr" access on /dev/mapper/control. Detailed Description: SELinux denied access requested by diskstats. It is not expected that this access is required by diskstats 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:munin_t:s0 Target Context system_u:object_r:lvm_control_t:s0 Target Objects /dev/mapper/control [ chr_file ] Source diskstat_latenc Source Path /usr/bin/perl Port <Unknown> Host (removed) Source RPM Packages perl-5.10.0-87.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-108.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.32.10-90.fc12.i686 #1 SMP Tue Mar 23 10:21:29 UTC 2010 i686 i686 Alert Count 1555 First Seen Sat 10 Apr 2010 10:05:05 AM CEST Last Seen Sun 11 Apr 2010 03:10:06 PM CEST Local ID 505a7f70-5df9-4660-a702-21f87ff1cf6f Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1270991406.534:27436): avc: denied { getattr } for pid=9327 comm="diskstats" path="/dev/mapper/control" dev=devtmpfs ino=5286 scontext=system_u:system_r:munin_t:s0 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file node=(removed) type=SYSCALL msg=audit(1270991406.534:27436): arch=40000003 syscall=196 success=no exit=-13 a0=bfd4fefc a1=bfd50f50 a2=37fff4 a3=bfd50efc items=0 ppid=9128 pid=9327 auid=4294967295 uid=491 gid=478 euid=491 suid=491 fsuid=491 egid=478 sgid=478 fsgid=478 tty=(none) ses=4294967295 comm="diskstats" exe="/usr/bin/perl" subj=system_u:system_r:munin_t:s0 key=(null) The error is produced by munin-node plugin "diskstat_latency_", which is delivered with the munin-node package: rpm -qi munin-node Name : munin-node Relocations: (not relocatable) Version : 1.4.4 Vendor: Fedora Project Release : 1.fc12 Build Date: Tue 02 Mar 2010 03:04:33 AM CET Install Date: Wed 07 Apr 2010 09:55:49 PM CEST Build Host: ppc02.phx2.fedoraproject.org Group : System Environment/Daemons Source RPM: munin-1.4.4-1.fc12.src.rpm Size : 1264298 License: GPLv2 and Bitstream Vera Signature : RSA/8, Tue 02 Mar 2010 03:52:57 AM CET, Key ID 9d1cc34857bbccba Packager : Fedora Project Hash String generated from catchall,diskstat_latenc,munin_t,lvm_control_t,chr_file,getattr audit2allow suggests: #============= munin_t ============== allow munin_t lvm_control_t:chr_file getattr;
*** This bug has been marked as a duplicate of bug 581257 ***
This is not the same bug as #581257. This bug is related with diskstat plugin, which runs under munin_disk_plugin_t domain in F13. Dan, I guess we need add dev_getattr_lvm_control(munin_disk_plugin_t)
Sounds good to me.
Fixed in selinux-policy-3.6.32-111.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.