#1024394 tftpd-hpa: If ipv6 is disabled system-wide, tftpd-hpa will not start unless --ipv4 is specified

Package:
tftpd-hpa
Source:
tftpd-hpa
Description:
HPA's tftp server
Submitter:
elyograg
Date:
2024-07-14 14:15:03 UTC
Severity:
normal
#1024394#5
Date:
2022-11-18 18:16:48 UTC
From:
To:
Dear Maintainer,

I disabled ipv6 on the whole system with a kernel parameter on boot.
This is something I routinely do on any server I manage, because in the
past I have had weird problems that disabling ipv6 solved.  I am not
using ipv6 at all. Disabling it means I do not usually have to worry
about any complications it might introduce.

I didn't notice for several weeks after disabling ipv6 that my tftp
server wasn't working.  When I did, I tracked down the problem to a log
entry saying that tftpd-hpa couldn't bind to ipv6.  Instead of starting
with ipv4, it simply refused to run.  Adding --ipv4 to the options in
/etc/default/tfdpd-hpa got it working again.

I think the program should have started, logging the ipv6 error.

I initially filed this report with Ubuntu because I am using Ubuntu.
They indicated I should file the bug upstream.

https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/1996846

#1024394#10
Date:
2024-07-14 14:11:35 UTC
From:
To:
This is documented already in README.Debian.

Chris