Does not discover routers after installing lxc

Bug #1003511 reported by Dylan McCall
This bug report is a duplicate of:  Bug #817412: fails to autodetect network interface. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UPnP Router Control
New
Undecided
Unassigned
lxc (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

This is sort of the correct version of bug #969696, which I filed a while ago. upnp-router-control works perfectly — it discovers my DIR-655 router every time — out of the box. However, as soon as I install lxc, it stops working. It passes the UPnP Resource discovery stage but apparently never discovers a device.

Normal operation:
dylan@dylan-desktop ~ % upnp-router-control
* Initializing GUI...
* Showing GUI...
* Starting UPnP Resource discovery... done
==> Device Available: Xtreme N GIGABIT Router
Request for external IP address... successful [50.92.8.191]
Request for connection status info... successful
Connection info: Status: Connected, Uptime: 34027 sec.
Request for NAT and RSIP availability... successful [RSIP=no, NAT=yes]
* Destroying GUI...

After installing lxc:
dylan@dylan-desktop ~ % upnp-router-control
* Initializing GUI...
* Showing GUI...
* Starting UPnP Resource discovery... done
* Destroying GUI...

This looks like _specifically_ a conflict with lxc: after removing lxc (leaving its dependencies intact), upnp-router-control works happily again.

Revision history for this message
Dylan McCall (dylanmccall) wrote :

I thought this might be some configuration file mixing things up, but actually it's the lxc-net service. As long as lxc-net is running, this problem occurs. As soon as I run service lxc-net stop, upnp-router-control works happily.

I'll add lxc to this, because this effect doesn't appear to be documented :)

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

@Dylan,

thanks for reporting this bug. Before I dive deeper, do you already know why lxc-net is doing this? Is the other package installing a dnsmasq that binds to all interfaces?

Changed in lxc (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Dylan McCall (dylanmccall) wrote :

Oh, hey, this _is_ a duplicate!

Looks like gupnp is meant to autodetect a network interface, and that is not working in this case. (It ends up using lxc's lxcbr0 interface). There is another bug report where the same problem occurs with Virtualbox's virbr0 interface, so I'll mark this as a duplicate of that.

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.