[Bug 522509] Re: [FFE] tftpd-hpa doesn't start on boot

AllenS 522509 at bugs.launchpad.net
Thu May 10 13:42:28 UTC 2012


Hi Diego

I added "service tftpd-hpa restart" as an "up" line to eth0 and it
worked! Thank you very much.

But even better still you pointed me in the right direction to get to
the bottom of the problem. My interface file looked like this:

# The primary network interface
auto eth0
#up service tftpd-hpa restart
#NetworkManager#iface eth0 inet dhcp

I moved the "iface eth0 inet dhcp" bit onto a new line and tftpd-hpa now
works perfectly from boot. I don't know how the "interface" file got
screwed up like that because I hadn't touched until you mentioned it.

To be fair I installed this system with a daily build of precise around
the time of beta 2, so perhaps that's why.

Anyway all working now so thanks again for the help.

Allen

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ltsp in Ubuntu.
https://bugs.launchpad.net/bugs/522509

Title:
  [FFE] tftpd-hpa doesn't start on boot

Status in “ltsp” package in Ubuntu:
  Fix Released
Status in “tftp-hpa” package in Ubuntu:
  Fix Released
Status in “ltsp” source package in Lucid:
  Fix Released
Status in “tftp-hpa” source package in Lucid:
  Fix Released

Bug description:
  Binary package hint: tftp-hpa

  tftpd-hpa version: 5.0-11ubuntu1

  tftpd-hpa doesn't start on boot for me:
  syslog.1:Feb 16 08:26:43 alkis in.tftpd[1399]: cannot resolve local IPv4 bind address: 0.0.0.0, Name or service not known

  But if I put a "sleep 30" on top of /etc/init.d/tftpd-hpa, then it does start.
  Maybe the network isn't ready when the script runs?
  Maybe it'd be better if tftpd-hpa was upstartified?

  I didn't change any of my settings, they're the defaults:
  # /etc/default/tftpd-hpa

  TFTP_USERNAME="tftp"
  TFTP_DIRECTORY="/var/lib/tftpboot"
  TFTP_ADDRESS="0.0.0.0:69"
  TFTP_OPTIONS="--secure"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ltsp/+bug/522509/+subscriptions




More information about the foundations-bugs mailing list