Hide Forgot
Created attachment 1143443 [details] This is "tftp.spec" file after editing it, to add tftp configuration file Hello All. When I was trying to configure setting up a TFTP and DHCP server and I installed tftp-server, Then I found that the configuration file of tftp not available in the path /etc/xinetd.d/ Which should to be in as /etc/xinetd.d/tftp I tried it with centos7, and the configuration file is there, so I had a look at spec files in centos7 and fedora 23, and there were differences in some lines, which were missing in fedora 23 spec files: install -m755 -d -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/ ${RPM_BUILD_ROOT}%{_localstatedir}/lib/tftpboot sed -e 's:/var:%{_localstatedir}:' -e 's:/usr/sbin:%{_sbindir}:' \ tftp-xinetd > ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/tftp touch -r tftp-xinetd ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/tftp %config(noreplace) %{_sysconfdir}/xinetd.d/tftp The packages: "tftp-server" needs to rebuild with the the new lines.
This change was made on purpose. Using systemd unit files has been the preferred solution for a while. xinetd is obsolete. See /usr/lib/systemd/system/tftp.{service,socket}. For the commit that removed the xinetd service file, see http://pkgs.fedoraproject.org/cgit/rpms/tftp.git/commit/?h=f23&id=629a32ec28ebcb88fa7330ad4bffcad5d70c2b80.