| Summary: | SELinux is preventing /usr/sbin/vsftpd from 'name_connect' accesses on the tcp_socket . | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | gigalamer <gigalamer> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, gigalamer, lvrabec, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:018b918808acc9ab7f3a9660ddf6786d433120abcb40ea37e88f9e9ea9e78651 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-05 08:02:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Did you setup this port? You can run # setsebool -P ftpd_connect_all_unreserved 1 how the alert tells you. |
Description of problem: SELinux is preventing /usr/sbin/vsftpd from 'name_connect' accesses on the tcp_socket . ***** Plugin catchall_boolean (89.3 confidence) suggests ******************* If aby determine whether ftpd can connect to all unreserved ports. Then you must tell SELinux about this by enabling the 'ftpd_connect_all_unreserved' boolean. Na stronie podręcznika "ftpd_selinux" znajduje się więcej informacji. Do setsebool -P ftpd_connect_all_unreserved 1 ***** Plugin catchall (11.6 confidence) suggests *************************** If aby vsftpd powinno mieć domyślnie name_connect dostęp do tcp_socket. Then proszę to zgłosić jako błąd. Można utworzyć lokalny moduł polityki, aby umożliwić ten dostęp. Do można tymczasowo zezwolić na ten dostęp wykonując polecenia: # grep vsftpd /var/log/audit/audit.log | audit2allow -M mojapolityka # semodule -i mojapolityka.pp Additional Information: Source Context system_u:system_r:ftpd_t:s0-s0:c0.c1023 Target Context system_u:object_r:rtp_media_port_t:s0 Target Objects [ tcp_socket ] Source vsftpd Source Path /usr/sbin/vsftpd Port 5004 Host (removed) Source RPM Packages vsftpd-3.0.2-5.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-74.14.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.11.9-200.fc19.x86_64 #1 SMP Wed Nov 20 21:22:24 UTC 2013 x86_64 x86_64 Alert Count 3 First Seen 2013-12-05 03:30:39 UTC Last Seen 2013-12-05 03:38:23 UTC Local ID 082b518d-4e2a-46f2-99f4-708fde4f2b68 Raw Audit Messages type=AVC msg=audit(1386214703.360:15748): avc: denied { name_connect } for pid=13820 comm="vsftpd" dest=5004 scontext=system_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:rtp_media_port_t:s0 tclass=tcp_socket type=SYSCALL msg=audit(1386214703.360:15748): arch=x86_64 syscall=connect success=no exit=EINPROGRESS a0=5 a1=7ff79a21a370 a2=10 a3=7fff621b5a7c items=0 ppid=1593 pid=13820 auid=4294967295 uid=99 gid=99 euid=99 suid=99 fsuid=99 egid=99 sgid=99 fsgid=99 ses=4294967295 tty=(none) comm=vsftpd exe=/usr/sbin/vsftpd subj=system_u:system_r:ftpd_t:s0-s0:c0.c1023 key=(null) Hash: vsftpd,ftpd_t,rtp_media_port_t,tcp_socket,name_connect Additional info: reporter: libreport-2.1.9 hashmarkername: setroubleshoot kernel: 3.11.9-200.fc19.x86_64 type: libreport