tftpd-hpa refuses to start if ipv6 is disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tftp-hpa (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I routinely disable ipv6 on my servers because I am not using ipv6 at all and in the past I have had systems behave strangely with it enabled. With modern software that may not be required any more, but if I disable it, that's one less thing I need to be concerned about with troubleshooting.
My main server had not yet had ipv6 disabled until very recently, which was an oversight on my part. The tftp server, tftpd-hpa, stopped working. I didn't notice this right away, as the main purpose of the tftp server is to do uploads and downloads of files to/from my Cisco networking gear, and I do not touch those very often.
After a lot of headscratching, I finally saw in the log that it was failing to bind to ipv6. Nothing new there, lots of programs complain about that. This is the only Linux software I have used where a lack of ipv6 causes it to not run.
Adding --ipv4 to the options in /etc/default/
I think that the program should have started with whatever functionality was available. Logging that it couldn't bind to ipv6 is great, but it shouldn't keep the program from running. Bug #1342580 is something similar.
Filing this report with ubuntu-bug didn't work, but I did have it save its output. File attachments in launchpad aren't working either, so I put the file on my webserver.