vsftpd fails to start due to a SELinux denial
Issue
- The
vsftpd
service fails to start. -
A message similar to the following is visible in
/var/log/audit/audit.log
:type=AVC msg=audit(1548417720.287:75): avc: denied { module_request } for pid=1597 comm="vsftpd" kmod="net-pf-10" scontext=system_u:system_r:ftpd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=0
Environment
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- SELinux in
Enforcing
mode vsftpd
installed
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.