Summary: SELinux is preventing vsftpd "net_raw" access. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by vsftpd. It is not expected that this access is required by vsftpd 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:ftpd_t:s0-s0:c0.c1023 Target Context unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 Target Objects None [ capability ] Source vsftpd Source Path /usr/sbin/vsftpd Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.6.32-78.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 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 2 First Seen Fri 05 Feb 2010 01:25:50 CST Last Seen Fri 05 Feb 2010 01:27:35 CST Local ID 546d9fe2-1595-4a17-9c42-c761238de677 Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1265295455.314:169): avc: denied { net_raw } for pid=13288 comm="vsftpd" capability=13 scontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:ftpd_t:s0-s0:c0.c1023 tclass=capability Hash String generated from selinux-policy-3.6.32-78.fc12,catchall,vsftpd,ftpd_t,ftpd_t,capability,net_raw audit2allow suggests: #============= ftpd_t ============== allow ftpd_t self:capability net_raw;
I had installed vsftpd-2.2.0-6.fc12.x86_64. I did not alter the configuration. When I connect from a remote host the SELinux message is generated. This leads the FTP server to respond to the client with "421 Service not available".
*** This bug has been marked as a duplicate of bug 547339 ***