lxc-start fails on 'lxc-create -t ubuntu-cloud' container

Bug #1067029 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
New
High
Unassigned

Bug Description

$ name=precise-cloud-amd64-source

$ sudo lxc-create -t ubuntu-cloud -n $name -- \
  --release=precise --arch=amd64 \
  --tarball "$cached/$tarball"
$ sudo lxc-start -n precise-cloud-amd64-source
lxc-start: No such file or directory - failed to mount a new instance of '/dev/pts'
lxc-start: failed to setup the new pts instance
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'precise-cloud-amd64-source'

Previously, I thought I coudl fix the situation with the following, but that seems not to have worked.

$ rootd=/var/lib/lxc/$name/rootfs
$ sudo cp -a /dev/{console,urandom,random,tty[1234]} $rootd/dev
$ sudo mkdir $rootd/dev/pts

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu63
ProcVersionSignature: User Name 3.2.0-31.50-virtual 3.2.28
Uname: Linux 3.2.0-31-virtual x86_64
ApportVersion: 2.0.1-0ubuntu13
Architecture: amd64
Date: Mon Oct 15 19:17:34 2012
Ec2AMI: ami-0000015b
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=screen
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Scott Moser (smoser) wrote :
Changed in lxc (Ubuntu):
importance: Undecided → High
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. This is due to the same problem as bug 1060404. The workaround is the same as the solution - add a devtmpfs entry to /var/lib/lxc/$name/fstab.

The solution is queued for acceptance to precise-proposed.

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.