Problem:
Tftp does not serve boot files, installer did not properly setup up tftp so I started systemctl service tftp
Expected outcome:
Foreman should create a proper tftp service or EL8.9 tftp for systemctl should have a doc with proper options
Foreman and Proxy versions:
Foreman version foreman-3.8.0-1.el8.noarch proxy version foreman-proxy-3.8.0-1.el8.noarch
Foreman and Proxy plugin versions:
unsure
Distribution and version:
Red Hat Enterprise Linux release 8.9 (Ootpa)
Other relevant data:
an old example of a Xinetd tftp file from our old broken system is here
service tftp
{
port = 69
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
group = root
groups = yes
server = /usr/sbin/in.tftpd
server_args = -v -s /var/lib/tftpboot -m /etc/tftpd.map
per_source = 11
cps = 100 2
flags = IPv4
instances = UNLIMITED
}
I got this to start w xinetd in rhel8.9 on the new system but when I would connect via tftp client it just hung so I stopped it and then tried a similar config on systemctl
i.e.
I made sure tftp.socket was running 1st and then started it and reloaded etc
[root@pulp3 log]# cat /usr/lib/systemd/system/tftp.service
[Unit]
Description=Tftp Server
Requires=tftp.socket
Documentation=man:in.tftpd
[Service]
ExecStart=/usr/sbin/in.tftpd -c -4 -v -s /var/lib/tftpboot
StandardInput=socket
[Install]
Also=tftp.socket
I can use a client to download files its a little slow however
[root@pulp3 log]# systemctl status tftp.service
● tftp.service - Tftp Server
Loaded: loaded (/usr/lib/systemd/system/tftp.service; indirect; vendor preset: disabled)
Active: inactive (dead) since Tue 2024-08-13 16:19:53 PDT; 11min ago
Docs: man:in.tftpd
Process: 13017 ExecStart=/usr/sbin/in.tftpd -c -4 -v -s /var/lib/tftpboot (code=exited, status=0/SUCCESS)
Main PID: 13017 (code=exited, status=0/SUCCESS)
Aug 13 16:04:17 pulp3.gld.x.net in.tftpd[13067]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:04:21 pulp3.gld.x.net in.tftpd[13068]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:04:25 pulp3.gld.x.net in.tftpd[13070]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:04:33 pulp3.gld.x.net in.tftpd[13072]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:04:37 pulp3.gld.x.net in.tftpd[13073]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:04:41 pulp3.gld.x.net in.tftpd[13075]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:04:45 pulp3.gld.x.net in.tftpd[13076]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:04:49 pulp3.gld.x.net in.tftpd[13077]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:04:53 pulp3.gld.x.net in.tftpd[13079]: RRQ from ::ffff:100.110.70.131 filename grub2/grubx64.efi
Aug 13 16:19:53 pulp3.gld.x.net systemd[1]: tftp.service: Succeeded.
Problem is why I try and kick a node it times out and says as well
Aug 13 16:04:53 pulp3 systemd[1]: Received notify message exceeded maximum size. Ignoring.
I assume I need some minor way to correct that or a proper way to have foreman create the service , Suggustions? I’d really appreciate it.