lxc-start fails on 'lxc-create -t ubuntu-cloud' container
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
New
|
High
|
Unassigned |
Bug Description
$ name=precise-
$ sudo lxc-create -t ubuntu-cloud -n $name -- \
--release=precise --arch=amd64 \
--tarball "$cached/$tarball"
$ sudo lxc-start -n precise-
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-
Previously, I thought I coudl fix the situation with the following, but that seems not to have worked.
$ rootd=/
$ sudo cp -a /dev/{console,
$ sudo mkdir $rootd/dev/pts
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu63
ProcVersionSign
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
Ec2Availability
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)
Changed in lxc (Ubuntu): | |
importance: | Undecided → High |
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.