[Bug 972845] Re: after upgrade to precise, service did not start

Eric Biggers ebiggers3 at gmail.com
Wed Sep 19 01:19:03 UTC 2012


I am experiencing this problem in Ubuntu 12.04 Desktop (package:
tftpd-5.2-1ubuntu1).  The tftpd daemon does not start when the computer
starts up, even though the tftpd-hpa job starts.   As far as I can tell,
the problem is that the tftpd service is starting before the network is
properly configured.  The problem seemed to go away when I changed the
line

start on runlevel [2345]

in /etc/init/tftpd-hpa.conf to

start on (local-filesystems and net-device-up IFACE!=lo)

However, I am not an expert with Upstart and this may not necessarily be
the best way to fix the problem.

Here is part of the system log.  Note: there are 2 ethernet interfaces
on the computer, and NetworkManager is being used:

Sep 18 11:06:31 server NetworkManager[952]: <info> (eth1): now managed
Sep 18 11:06:31 server NetworkManager[952]: <info> (eth1): device state change: unmanaged -> unavailable (
reason 'managed') [10 20 2]
Sep 18 11:06:31 server NetworkManager[952]: <info> (eth1): bringing up device.
Sep 18 11:06:31 server kernel: [   19.320069] e1000e 0000:00:19.0: irq 49 for MSI/MSI-X
Sep 18 11:06:31 server kernel: [   19.320257] ADDRCONF(NETDEV_UP): eth0: link is not ready
Sep 18 11:06:31 server kernel: [   19.320555] ADDRCONF(NETDEV_UP): eth0: link is not ready
Sep 18 11:06:31 server acpid: starting up with proc fs
Sep 18 11:06:31 server cron[1063]: (CRON) INFO (pidfile fd = 3)
Sep 18 11:06:31 server acpid: 35 rules loaded
Sep 18 11:06:31 server acpid: waiting for events: event logging is off
Sep 18 11:06:31 server NetworkManager[952]: <info> (eth1): preparing device.
Sep 18 11:06:31 server NetworkManager[952]: <info> (eth1): deactivating device (reason 'managed') [2]
Sep 18 11:06:31 server kernel: [   19.337830] ADDRCONF(NETDEV_UP): eth1: link is not ready
Sep 18 11:06:31 server kernel: [   19.338129] ADDRCONF(NETDEV_UP): eth1: link is not ready
Sep 18 11:06:31 server in.tftpd[1065]: cannot resolve local IPv4 bind address: 0.0.0.0, Name or service no
t known
Sep 18 11:06:31 server kernel: [   19.343687] init: tftpd-hpa main process (1065) terminated with status 6
6
Sep 18 11:06:31 server kernel: [   19.343706] init: tftpd-hpa main process ended, respawning

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tftp-hpa in Ubuntu.
https://bugs.launchpad.net/bugs/972845

Title:
  after upgrade to precise, service did not start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tftp-hpa/+bug/972845/+subscriptions



More information about the Ubuntu-server-bugs mailing list