Summary: SELinux is preventing /usr/bin/perl "write" access on /var/lib/munin/plugin-state. Detailed Description: [iostat_ios has a permissive type (munin_system_plugin_t). This access was not denied.] SELinux denied access requested by iostat_ios. It is not expected that this access is required by iostat_ios 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 unconfined_u:system_r:munin_system_plugin_t:s0 Target Context system_u:object_r:munin_var_lib_t:s0 Target Objects /var/lib/munin/plugin-state [ dir ] Source iostat_ios Source Path /usr/bin/perl Port <Unknown> Host (removed) Source RPM Packages perl-5.10.1-112.fc13 Target RPM Packages munin-node-1.4.4-1.fc13 Policy RPM selinux-policy-3.7.19-15.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.33.4-95.fc13.i686 #1 SMP Thu May 13 05:55:24 UTC 2010 i686 i686 Alert Count 3 First Seen Wed 26 May 2010 09:05:11 PM CEST Last Seen Wed 26 May 2010 09:05:11 PM CEST Local ID 8f14ef1a-864b-4af1-b60e-8ae46dbb2229 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1274900711.842:21692): avc: denied { write } for pid=11841 comm="iostat_ios" name="plugin-state" dev=sda2 ino=142285 scontext=unconfined_u:system_r:munin_system_plugin_t:s0 tcontext=system_u:object_r:munin_var_lib_t:s0 tclass=dir node=(removed) type=AVC msg=audit(1274900711.842:21692): avc: denied { add_name } for pid=11841 comm="iostat_ios" name="iostat-ios.state" scontext=unconfined_u:system_r:munin_system_plugin_t:s0 tcontext=system_u:object_r:munin_var_lib_t:s0 tclass=dir node=(removed) type=AVC msg=audit(1274900711.842:21692): avc: denied { create } for pid=11841 comm="iostat_ios" name="iostat-ios.state" scontext=unconfined_u:system_r:munin_system_plugin_t:s0 tcontext=unconfined_u:object_r:munin_var_lib_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1274900711.842:21692): arch=40000003 syscall=5 success=yes exit=3 a0=8bb73f8 a1=8241 a2=1b6 a3=0 items=0 ppid=11617 pid=11841 auid=500 uid=490 gid=478 euid=490 suid=490 fsuid=490 egid=478 sgid=478 fsgid=478 tty=(none) ses=1 comm="iostat_ios" exe="/usr/bin/perl" subj=unconfined_u:system_r:munin_system_plugin_t:s0 key=(null) Hash String generated from catchall,iostat_ios,munin_system_plugin_t,munin_var_lib_t,dir,write audit2allow suggests: #============= munin_system_plugin_t ============== #!!!! The source type 'munin_system_plugin_t' can write to a 'dir' of the following type: # munin_system_plugin_tmp_t #!!!! The source type 'munin_system_plugin_t' can write to a 'dir' of the following types: # munin_system_plugin_tmp_t, tmp_t allow munin_system_plugin_t munin_var_lib_t:dir { write add_name }; allow munin_system_plugin_t munin_var_lib_t:file create;
Hi, additional comment: I installed the package munin-node and get these SELinux alerts. If you need more information then please tell me. Bye
Peter, I will fix it. Also please run yum update
Dan, I am doing some changes for munin-plugin policy. I will send you a patch.
Fixed in selinux-policy-3.7.19-42.fc13
selinux-policy-3.7.19-44.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-44.fc13
selinux-policy-3.7.19-44.fc13 has been pushed to the Fedora 13 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.7.19-44.fc13
selinux-policy-3.7.19-44.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.