Description of problem: selinux denying access for tftpd. here is the raw audit messages: avc: denied { search } for comm="in.tftpd" dev=sda6 egid=0 euid=0 exe="/usr/sbin/in.tftpd" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="/" pid=3873 scontext=user_u:system_r:tftpd_t:s0 sgid=0 Version-Release number of selected component (if applicable): tftp-server-0.42-4 selinux-policy-2.6.1-1.fc7 filesystem-2.4.6-1.fc7 How reproducible: persistent Steps to Reproduce: 1. yum install tftp tftp-server 2. vi /etc/xinetd.d/tftp # edit/change the following variables: disable = no server_args = -s /a 3. execute from remote client: # assumed localhost = 192.168.3.103 and /a has "pxelinux.0" file tftp 192.168.3.103 -c get pxelinux.0 Actual results: From client getting "Transfer timed out." Attached file is the output of selinux troubleshooter
Created attachment 154486 [details] selinux troubleshooter output log
This is not a bug and selinux is supposed to deny access. Hence closing as NOTABUG. If you want to fix this, execute: chcon --reference=/tftpboot /a