Summary: SELinux is preventing /usr/bin/freshclam "execmem" access . Detailed Description: SELinux denied access requested by freshclam. It is not expected that this access is required by freshclam 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:freshclam_t:s0-s0:c0.c1023 Target Context system_u:system_r:freshclam_t:s0-s0:c0.c1023 Target Objects None [ process ] Source freshclam Source Path /usr/bin/freshclam Port <Unknown> Host (removed) Source RPM Packages clamav-0.96.1-50.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-118.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.32.14-134.fc12.i686.PAE #1 SMP Tue Jun 15 19:56:25 UTC 2010 i686 i686 Alert Count 19 First Seen Tue 08 Jun 2010 03:06:17 AM SGT Last Seen Wed 23 Jun 2010 09:19:31 AM SGT Local ID 5bdf10a8-8134-4bc4-ba0c-fd5717ad0b3f Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1277255971.165:24787): avc: denied { execmem } for pid=3765 comm="freshclam" scontext=system_u:system_r:freshclam_t:s0-s0:c0.c1023 tcontext=system_u:system_r:freshclam_t:s0-s0:c0.c1023 tclass=process node=(removed) type=SYSCALL msg=audit(1277255971.165:24787): arch=40000003 syscall=192 success=no exit=-13 a0=0 a1=1000 a2=7 a3=22 items=0 ppid=3763 pid=3765 auid=0 uid=490 gid=477 euid=490 suid=490 fsuid=490 egid=477 sgid=477 fsgid=477 tty=(none) ses=2 comm="freshclam" exe="/usr/bin/freshclam" subj=system_u:system_r:freshclam_t:s0-s0:c0.c1023 key=(null) Hash String generated from catchall,freshclam,freshclam_t,freshclam_t,process,execmem audit2allow suggests: #============= freshclam_t ============== allow freshclam_t self:process execmem;
Not an access that we want freshclam to have.
In F13 and Rawhide we have added a boolean for this. unable_policy(`clamd_use_jit',` allow freshclam_t self:process execmem; ', ` dontaudit freshclam_t self:process execmem; ')
Miroslav can you back port this fix to F12?
Fixed in selinux-policy-3.6.32-120.fc12
selinux-policy-3.6.32-120.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-120.fc12
selinux-policy-3.6.32-120.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-120.fc12
I've been seeing this in F13 as well... Did the selinux-policy in updates-testing for F12 get the equivalent in F13 updates-testing?
(In reply to comment #7) > I've been seeing this in F13 as well... Did the selinux-policy in > updates-testing for F12 get the equivalent in F13 updates-testing? I also fixed it in selinux-policy-3.7.19-47.fc13. Thanks.
Still don't see it.. Latest I can find even with updates-testing enabled is: 3.7.19-44.fc13 Is -47 a koji build?
Never mind, it's there now.
selinux-policy-3.6.32-120.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.