[Bug 1176287] Re: lxc-start: Error creating cgroups

Serge Hallyn 1176287 at bugs.launchpad.net
Wed May 15 22:19:19 UTC 2013


** Description changed:

- I've played around with steam-lxc, but the container fails to start.
- Some debugging reveals:
+ =========== SRU Justification ===========
+ 1. Impact: users who have cgroups mounted in more than one place will hang thier
+ system when starting an lxc container
+ 2. Development fix: check for duplicate cgroup mounts
+ 3. Stable fix: same as development fix
+ 4. Test case:
+ sudo apt-get install lxc
+ sudo lxc-create -t ubuntu -n r1
+ sudo mkdir /var/cgroups
+ for d in `sed -e '1d;s/\([^\t]\)\t.*$/\1/' /proc/cgroups`; do
+         sudo mkdir -p /var/cgroups/$d
+         sudo mount -t cgroup -o $d cgroup /var/cgroups/$d
+ done
+ sudo lxc-start -n r1
+ 
+ If the lxc-start does not hang, the bug is not present.
+ 5. Regression potential:
+ 
+ =========== SRU Justification ===========
+ 
+ 
+ I've played around with steam-lxc, but the container fails to start. Some debugging reveals:
  
  >> sudo lxc-start -l DEBUG --name siretart-steam
  lxc-start: Error creating cgroups
  lxc-start: failed to spawn 'siretart-steam'
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: lxc 0.9.0-0ubuntu3
  ProcVersionSignature: Ubuntu 3.8.0-19.30-generic 3.8.8
  Uname: Linux 3.8.0-19-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.9.2-0ubuntu8
  Architecture: amd64
  Date: Sat May  4 08:47:37 2013
  InstallationDate: Installed on 2011-04-21 (743 days ago)
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  MarkForUpload: True
  SourcePackage: lxc
  UpgradeStatus: Upgraded to raring on 2013-04-24 (9 days ago)

-- 
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/1176287

Title:
  lxc-start: Error creating cgroups

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



More information about the Ubuntu-server-bugs mailing list