tftpd without inetd / rc.d

To pxe-boot FreeBSD on a Orange Pi Zero, I need to have tftpd running. (As well as have the Orange Pi internal flash fixed and a working dhcpd but that's done)
Most howto's and other sources refer to the inetd or rc.d configuration but I prefer a equal CLI solution, since this is a custom minimal system.
If I mkdir /tftpboot and start the daemon like /usr/libexec/tftpd -l -s /tftpboot, it exits with error 1 and no further information except from /var/log/messages: tftpd[3852]: recvfrom: Socket operation on non-socket

Does anybody know what's going on here? (I control the full system, so if something has to happen anywhere after the kernel loading, it's shouldn't be a problem)
 
Looks like a bug
Code:
socket(PF_LOCAL,SOCK_DGRAM|SOCK_CLOEXEC,0)       = 3 (0x3)
getsockopt(3,SOL_SOCKET,SO_SNDBUF,0x2a694986e470,0x2a694986e46c) = 0 (0x0)
connect(3,{ AF_UNIX "/var/run/log" },106)        = 0 (0x0)
umask(0x12)                                      = 18 (0x12)
ioctl(0,FIONBIO,0x2a694987eacc)                  = 0 (0x0)
recvfrom(0,0x2a694986e590,65468,0,0x2a6128aba3a8,0x2a694987eac8) ERR#38 'Socket operation on non-socket'
 
Back
Top