Unable to run LXC commands on xenial guest in trusty host with --share-net 1

Bug #1551299 reported by Tom Haddon
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I've created a xenial LXC on a trusty host as follows:

http://paste.ubuntu.com/15244552/

I'm able to run commands inside the LXC without "--share-net 1" but any time I try with "--share-net 1" it fails, such as:

http://paste.ubuntu.com/15243604/ (strace output).

Will attach apport report.

Revision history for this message
Tom Haddon (mthaddon) wrote :
Revision history for this message
Tom Haddon (mthaddon) wrote :

Shouldn't be using "--share-net 1". Need to "lxc-start -n $container-name -d" and then "lxc-attach -n $container-name -- cmd". Needed lxc from trusty-backports too.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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