Red Hat Bugzilla – Bug 23923
xinetd not waiting for tftpd to finish
Last modified: 2014-03-16 22:18:03 EDT
xinetd cannot wait for tftpd to finish the transfer because xinetd does a
select on a wait for process tftpd but tftpd does a fork() (version 0.15
was doing an execve()) and doesn't wait for its child (which does the
transfer). An 'strace -fp `cat /var/run/xinetd.pid`' shows the bug.
# default: off
# description: The tftp server serves files using the trivial file transfer
# protocol. The tftp protocol is often used to boot diskless \
# workstations, download configuration files to network-aware printers, \
# and to start the installation process for some operating systems.
socket_type = dgram
wait = yes
user = nobody
log_on_success += USERID
log_on_failure += USERID
server = /usr/sbin/in.tftpd
server_args = /tftpboot
# disable = yes
FIxed in tftp-0.17-7. Thanks for noticing.
*** Bug 29788 has been marked as a duplicate of this bug. ***