Summary: SELinux is preventing /usr/bin/freshclam "name_connect" 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:object_r:clamd_port_t:s0 Target Objects None [ tcp_socket ] Source freshclam Source Path /usr/bin/freshclam Port 3310 Host (removed) Source RPM Packages clamav-update-0.95.3-1301.fc13 Target RPM Packages Policy RPM selinux-policy-3.7.15-4.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name catchall Host Name (removed) Platform Linux internet01.frankly3d.local 2.6.33.1-24.fc13.x86_64 #1 SMP Tue Mar 30 18:21:22 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen Sun 11 Apr 2010 14:03:07 IST Last Seen Sun 11 Apr 2010 17:02:35 IST Local ID 1d72f33a-de7b-4894-ba62-11d68a56e373 Line Numbers Raw Audit Messages node=internet01.frankly3d.local type=AVC msg=audit(1271001755.595:356): avc: denied { name_connect } for pid=7150 comm="freshclam" dest=3310 scontext=system_u:system_r:freshclam_t:s0-s0:c0.c1023 tcontext=system_u:object_r:clamd_port_t:s0 tclass=tcp_socket node=internet01.frankly3d.local type=SYSCALL msg=audit(1271001755.595:356): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=ff9f40b0 a2=838e448 a3=4 items=0 ppid=7009 pid=7150 auid=0 uid=491 gid=479 euid=491 suid=491 fsuid=491 egid=479 sgid=479 fsgid=479 tty=(none) ses=12 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,clamd_port_t,tcp_socket,name_connect audit2allow suggests: #============= freshclam_t ============== allow freshclam_t clamd_port_t:tcp_socket name_connect;
This is what shows up in my logs: ERROR: getpatch: Can't download safebrowsing-19286.cdiff from db.ie.clamav.net ERROR: Can't download safebrowsing.cvd from db.ie.clamav.net connect(): Permission denied
You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.7.18-2.fc13.noarch
selinux-policy-3.7.19-2.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-2.fc13
selinux-policy-3.7.19-2.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-2.fc13
selinux-policy-3.7.19-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.