[Bug 702802] Re: event "net-device-up" is triggered too early
Tore Anderson
tore at fud.no
Mon Mar 24 19:58:29 UTC 2014
I don't think this is really fixed in recent versions either. At least I
dist-upgraded my test server to Trusty now, but the script from comment
#5 still shows that the interface only has a tentative LL address
assigned by the time it is started by upstart:
Mar 24 20:42:59 ucstest kernel: [ 23.150580] enic 0000:08:00.0 eth0: Link UP
Mar 24 20:43:00 ucstest network-test: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
Mar 24 20:43:00 ucstest network-test: link/ether 00:25:b5:00:00:ce brd ff:ff:ff:ff:ff:ff
Mar 24 20:43:00 ucstest network-test: inet6 fe80::225:b5ff:fe00:ce/64 scope link tentative
Mar 24 20:43:00 ucstest network-test: valid_lft forever preferred_lft forever
Mar 24 20:43:00 ucstest ntpdate[779]: Can't find host ntp.ubuntu.com: Name or service not known (-2)
Mar 24 20:43:00 ucstest ntpdate[779]: no servers can be used, exiting
Tore
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/702802
Title:
event "net-device-up" is triggered too early
Status in “ifupdown” package in Ubuntu:
Fix Released
Status in “ifupdown” source package in Precise:
New
Bug description:
Binary package hint: ifupdown
Hello,
on booting, the event "net-device-up" is triggered too early. The
event is "sent" to other jobs immediately after the ifup command has
been executed, but neither ifup nor the calling script /etc/network
/if-up.d/upstart perform a test if the network connection is really
working. The result of this behaviour is that a job needing network
functionality, e.g. mounting NFS filesystems, is possibly started
before other network machines are reachable and makes the computer
hang. This happens when the network interface needs some time to
negotiate the ethernet parameters with the network switch.
Regards
Christoph
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ifupdown 0.6.8ubuntu29.2
ProcVersionSignature: Ubuntu 2.6.32-27.49-generic 2.6.32.26+drm33.12
Uname: Linux 2.6.32-27-generic x86_64
Architecture: amd64
Date: Fri Jan 14 10:27:30 2011
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: ifupdown
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/702802/+subscriptions
More information about the foundations-bugs
mailing list