Public bug reported:

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/tftp-hpa:
#Defaults for tftpd-hpa
RUN_DAEMON="yes"
OPTIONS="-l -s /tftpboot"

and use the command

# sudo /etc/init.d/tftpd-hpa restart

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/tftp-hpa.
Changing /etc/default/tftp-hpa to:

#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.

** Affects: tftp-hpa (Ubuntu)
     Importance: Undecided
         Status: New

-- 
tftpd-hpa does not use /etc/default/tftp-hpa options
https://bugs.launchpad.net/bugs/227881
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to