Summary: SELinux is preventing /bin/find "read" access on /var/spool/mqueue. Detailed Description: SELinux denied access requested by find. It is not expected that this access is required by find 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_t:s0 Target Context system_u:object_r:mqueue_spool_t:s0 Target Objects /var/spool/mqueue [ dir ] Source find Source Path /bin/find Port <Unknown> Host shevek.penguinpee.nl Source RPM Packages findutils-4.4.2-6.fc12 Target RPM Packages sendmail-8.14.3-8.fc12 Policy RPM selinux-policy-3.6.32-78.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name shevek.penguinpee.nl Platform Linux shevek.penguinpee.nl 2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18 19:52:07 UTC 2010 x86_64 x86_64 Alert Count 352 First Seen Thu Feb 4 13:15:06 2010 Last Seen Fri Feb 5 22:30:03 2010 Local ID d862f7d6-0441-4cde-8ca8-6ff9a6562410 Line Numbers Raw Audit Messages node=shevek.penguinpee.nl type=AVC msg=audit(1265405403.465:40923): avc: denied { read } for pid=10333 comm="find" name="mqueue" dev=dm-0 ino=659 scontext=unconfined_u:system_r:munin_t:s0 tcontext=system_u:object_r:mqueue_spool_t:s0 tclass=dir node=shevek.penguinpee.nl type=SYSCALL msg=audit(1265405403.465:40923): arch=c000003e syscall=2 success=no exit=-13 a0=1225a30 a1=90800 a2=3 a3=1226d96 items=0 ppid=10332 pid=10333 auid=500 uid=0 gid=469 euid=0 suid=0 fsuid=0 egid=469 sgid=469 fsgid=469 tty=(none) ses=78 comm="find" exe="/bin/find" subj=unconfined_u:system_r:munin_t:s0 key=(null)
Created attachment 389210 [details] Local policy according to suggestions by audit2allow This local policy will allow access to both /var/spool/mqueue and /var/spool/clientmqueue. Access to the last one is also needed by munin scripts, but denied in a different AVC. Do I need to file a different bug for munin trying to access /var/spool/clientmqueue ? The source and target contexts are all the same.
Miroslav add, mta_list_queue(munin_t) ####################################### ## <summary> ## List the mail queue. ## </summary> ## <param name="domain"> ## <summary> ## Domain allowed access. ## </summary> ## </param> # interface(`mta_list_queue',` gen_require(` type mqueue_spool_t; ') allow $1 mqueue_spool_t:dir list_dir_perms; files_search_spool($1) ')
Fixed in selinux-policy-3.6.32-86.fc12
selinux-policy-3.6.32-89.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-89.fc12
selinux-policy-3.6.32-89.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/F12/FEDORA-2010-1836
selinux-policy-3.6.32-89.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.