net-device-added ($INTERFACE=lo) event missed

Bug #655145 reported by wodny
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: upstart

This bug report was originally posted as a comment to bug #497299 (https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/497299/comments/98).

Problem exists on one of machines with Lucid 10.04.1.

upstart 0.6.5-7
ifupdown 0.6.8ubuntu29.1

It seams that the "net-device-added" event that should have come from upstart-udev-bridge (caused by a udev event) gets lost somewhere.

In a udev logfile there is:
KERNEL[1285595950.929353] add /devices/virtual/net/lo (net)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/virtual/net/lo
SUBSYSTEM=net
INTERFACE=lo
IFINDEX=1
SEQNUM=1477

UDEV [1285595951.133203] add /devices/virtual/net/lo (net)
UDEV_LOG=3
ACTION=add
DEVPATH=/devices/virtual/net/lo
SUBSYSTEM=net
INTERFACE=lo
IFINDEX=1
SEQNUM=1477

But system load hangs at network-interface.conf waiting for net-device-added.

As it was said (for example bug #543506), one can do one of at least 3 things to continue the process:
1) telinit 2
2) initctl emit -n net-device-up IFACE=lo LOGICAL=lo ADDRFAM=inet METHOD=loopback
3) initctl emit net-device-added INTERFACE=lo

But there is one more thing that works:
udevadm trigger
This one seams to replay udev events and net-device-added is noticed.

So for me the most interesting part is to find out why upstart-udev-bridge or upstart loses some events.

As an additional project I've created an upstart start map generator: https://bitbucket.org/wodny/upstart-map
Results attached.

Revision history for this message
wodny (z-launchpad-wodny-org) wrote :
Revision history for this message
JaccoH (jacco) wrote :

I have this same issue but on a server I recently upgraded to Maverick. The net-device-added seems to be lost. Resulting in certain NFS mounts not being mounted (show stopper for me).

dpkg -l | grep upstart
ii upstart 0.6.6-3 event-based init daemon

Changed in upstart (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.