Public bug reported:

$ 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)

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ec2-images precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1067029

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1067029/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to