tftpd-hpa does not use /etc/default/tftp-hpa options
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server papercuts |
Invalid
|
Undecided
|
Unassigned | ||
tftp-hpa (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: tftpd-hpa
The options that should be passed to in.tftpd when being run as a daemon are not used. Instead in.tftpd uses the options in the /etc/inetd.conf file.
For example if I set in /etc/default/
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /tftpboot"
and use the command
# sudo /etc/init.
tftp uses /var/lib/tftpboot and not /tftpboot as I want. To fix this I commented out the offending line in /etc/inetd.conf which was running tftp as an inet process and everything works as it should. If a person wants to run tftpd-hpa as a daemon and not an inet process then this step needs to be documented, possibly in /etc/default/
#Defaults for tftpd-hpa
# If running tftpd-hpa as a daemon change RUN_DAEMON to yes
# and comment out tftpd line in /etc/inetd.conf file.
RUN_DAEMON="no"
OPTIONS="-l -s /tftpboot"
Or alternatively the line in /etc/inetd.conf should be commented out as default and running tftpd-hpa as a daemon should be the default behavior. As this is only a recent problem with Hardy there can be some confusion when doing an upgrade about why tftp is not using the right directory, better documentation of recent changes should be made.
Confirmed. The solution suggested here would fix bug 181017.
Happy Trails,
Loye Young www.iycc. biz
Isaac & Young Computer Company
Laredo, Texas
http://