Summary: SELinux is preventing /usr/bin/freshclam "write" access on log. Detailed Description: [SELinux is in permissive mode. This access was not denied.] 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://fedora.redhat.com/docs/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:object_r:devlog_t:s0 Target Objects log [ sock_file ] Source freshclam Source Path /usr/bin/freshclam Port <Unknown> Host (removed) Source RPM Packages clamav-update-0.95.3-1200.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-49.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.6-134.fc12.i686.PAE #1 SMP Mon Nov 16 20:53:21 EST 2009 i686 i686 Alert Count 2 First Seen Thu 26 Nov 2009 08:02:10 PM CET Last Seen Thu 26 Nov 2009 08:02:10 PM CET Local ID 9b2fb81f-f88c-4a26-a258-416f3610ea47 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1259262130.169:25234): avc: denied { write } for pid=5950 comm="freshclam" name="log" dev=tmpfs ino=11178 scontext=system_u:system_r:freshclam_t:s0-s0:c0.c1023 tcontext=system_u:object_r:devlog_t:s0 tclass=sock_file node=(removed) type=AVC msg=audit(1259262130.169:25234): avc: denied { sendto } for pid=5950 comm="freshclam" path="/dev/log" scontext=system_u:system_r:freshclam_t:s0-s0:c0.c1023 tcontext=system_u:system_r:syslogd_t:s0 tclass=unix_dgram_socket node=(removed) type=SYSCALL msg=audit(1259262130.169:25234): arch=40000003 syscall=102 success=yes exit=0 a0=3 a1=bfba17dc a2=280ff4 a3=ffffffc8 items=0 ppid=2295 pid=5950 auid=0 uid=490 gid=324 euid=490 suid=490 fsuid=490 egid=324 sgid=324 fsgid=324 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 selinux-policy-3.6.32-49.fc12,catchall,freshclam,freshclam_t,devlog_t,sock_file,write audit2allow suggests: #============= freshclam_t ============== allow freshclam_t devlog_t:sock_file write; allow freshclam_t syslogd_t:unix_dgram_socket sendto;
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp
*** Bug 542310 has been marked as a duplicate of this bug. ***
Miroslav we needed to add logging_send_syslog_msg(freshclam_t) Fixed in selinux-policy-3.6.32-52.fc12.noarch
selinux-policy-3.6.32-52.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-52.fc12
selinux-policy-3.6.32-52.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-2009-12549
selinux-policy-3.6.32-55.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-55.fc12
selinux-policy-3.6.32-55.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-2009-12650
selinux-policy-3.6.32-55.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
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 stable repository. If problems still persist, please make note of it in this bug report.