Summary: SELinux is preventing /usr/sbin/nagios (deleted) "ioctl" access on /usr/lib64/nagios/plugins/check_mailq. Detailed Description: SELinux denied access requested by nagios. It is not expected that this access is required by nagios 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:nagios_t:s0 Target Context system_u:object_r:nagios_mail_plugin_exec_t:s0 Target Objects /usr/lib64/nagios/plugins/check_mailq [ file ] Source nagios Source Path /usr/sbin/nagios (deleted) Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages nagios-plugins-mailq-1.4.15-2.fc13 Policy RPM selinux-policy-3.7.19-73.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.34.7-61.fc13.x86_64 #1 SMP Tue Oct 19 04:06:30 UTC 2010 x86_64 x86_64 Alert Count 1 First Seen Thu 02 Dec 2010 20:43:24 GMT Last Seen Thu 02 Dec 2010 20:43:24 GMT Local ID f9ba2739-e409-4436-8ff3-5e611f45766d Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1291322604.984:89828): avc: denied { ioctl } for pid=31422 comm="nagios" path="/usr/lib64/nagios/plugins/check_mailq" dev=dm-0 ino=931112 scontext=unconfined_u:system_r:nagios_t:s0 tcontext=system_u:object_r:nagios_mail_plugin_exec_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1291322604.984:89828): arch=c000003e syscall=16 success=no exit=-13 a0=7 a1=5401 a2=7ffffa109640 a3=48 items=0 ppid=1 pid=31422 auid=500 uid=483 gid=467 euid=483 suid=483 fsuid=483 egid=467 sgid=467 fsgid=467 tty=(none) ses=1 comm="nagios" exe=2F7573722F7362696E2F6E6167696F73202864656C6574656429 subj=unconfined_u:system_r:nagios_t:s0 key=(null) Hash String generated from catchall,nagios,nagios_t,nagios_mail_plugin_exec_t,file,ioctl audit2allow suggests: #============= nagios_t ============== allow nagios_t nagios_mail_plugin_exec_t:file ioctl;
See also bug 659468.
Fixed in selinux-policy-3.7.19-75.fc13
selinux-policy-3.7.19-76.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-76.fc13
selinux-policy-3.7.19-76.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: https://admin.fedoraproject.org/updates/selinux-policy-3.7.19-76.fc13
selinux-policy-3.7.19-76.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.