[Dnsmasq-discuss] TFTP storage issue prevents other dnsmasq services (DHCP/DNS) to run

Geert Stappers stappers at stappers.nl
Thu Mar 26 11:14:33 GMT 2020

On Thu, Mar 26, 2020 at 09:15:09AM +0000, Ercolino De Spiacico wrote:
> It seems like enabling TFTP like:
> enable-tftp
> tftp-root=/mnt/usb/TFTP
> dhcp-boot=pxelinux.0,,
> But experiencing an system storage issue (usb failure, unable to mount,
> etc) takes the full dnsmasq down e.g. prevent from running at all
> Can I suggest for dnmasq to take a softer approach when this happens
> and just skip the TFTP process execution rather than affect all the
> other internal services like DHCP and DNS?
> More than else it's that "external factor" that sucks in this situation.

Yes, hence the option    `tftp-no-fail`

Quoting the manual page

      Do  not abort startup if specified tftp root
      directories are in‐accessible.

> Thanks

No problem.  Feel welcome to also report that `tftp-no-fail` does what
you expect from it.

Geert Stappers
Silence is hard to parse

More information about the Dnsmasq-discuss mailing list