cloud-init-nonet hangs when loopback alias exists

Bug #1428112 reported by Matthew Buckett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
New
Undecided
Unassigned

Bug Description

Upon creating a automatic loopback interface alias cloud-init-nonet will hang for 120 seconds every time the machine boots.

cat > /etc/network/interfaces.d/lo0.cfg <<EOF
auto lo:0
iface lo:0 inet static
  address 127.0.0.2
EOF

Description: Ubuntu 14.04 LTS
Release: 14.04

Revision history for this message
Matthew Buckett (buckett) wrote :

I worked around this by editing /etc/network/if-up.d/upstart and excluding the loopback interfaces aliases from the auto interfaces, the change was:

        found=$(ifquery --list --allow auto 2>/dev/null) || return

to:

        found=$(ifquery --list --allow auto --exclude lo:\* 2>/dev/null) || return

Then it doesn't wait for the loopback aliases and everything starts up fast.

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.