Closed bamhm182 closed 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We have no plans to make bandaids for those operating under the false assumption that disabling ipv6 is beneficial in some way, even though for 20 years they've been told otherwise.
IPv6 being disabled on the host causes the tftp service to fail
Expected Behavior
The tftp service should run, even when IPv6 is not available.
Current Behavior
When IPv6 is disabled on the host box, the script at /etc/services.d/tftp/run exists with code 71 and does not leave the tftp service in a running state.
Steps to reproduce
cat /proc/net/udp
and notice a lack of port 69 (0x0045).Environment
OS: Arch Linux CPU architecture: x86_64
IPv6 is disabled on this box
How docker service was installed:
The following docker-compose.yml
Command used to create docker container (run/create/compose/screenshot)
docker-compose up
Docker logs
Nothing to indicate there is a problem.
Workaround
I have added the environmental variable "IPV4=true" and I have created the file
/config/custom-services.d/tftp
with the following contents:The
--ipv4
flag is what is required for /usr/sbin/in.tftpd to not fail.Proposed workaround
Adapt the change made in my
custom-services.d
script to the official tftp service script.