← Back to team overview

touch-packages team mailing list archive

[Bug 1271000] Re: lxc-start fails with Out of memory reading cgroups

 

This bug was fixed in the package lxc - 1.1.0~alpha2-0ubuntu2

---------------
lxc (1.1.0~alpha2-0ubuntu2) utopic; urgency=medium

  * Cherry-pick usptream bugfix for lxc-usernic test.
 -- Stephane Graber <stgraber@xxxxxxxxxx>   Thu, 02 Oct 2014 15:01:56 -0400

** Changed in: lxc (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1271000

Title:
  lxc-start fails with Out of memory reading cgroups

Status in “lxc” package in Ubuntu:
  Fix Released

Bug description:
  Package might really be libcgroup1.

  This seems to have stopped working with latest kernel upgrade.

  To replicate failure...

  net1# lxc-create -t ubuntu -n test
  Checking cache download in /var/cache/lxc/saucy/rootfs-amd64 ... 
  Copy /var/cache/lxc/saucy/rootfs-amd64 to /usr/lib/x86_64-linux-gnu/lxc ... 
  Copying rootfs to /usr/lib/x86_64-linux-gnu/lxc ...
  Generating locales...
    en_US.UTF-8... up-to-date
  Generation complete.
  Creating SSH2 RSA key; this may take some time ...
  Creating SSH2 DSA key; this may take some time ...
  Creating SSH2 ECDSA key; this may take some time ...
  invoke-rc.d: policy-rc.d denied execution of start.

  ##
  # The default user is 'ubuntu' with password 'ubuntu'!
  # Use the 'sudo' command to run tasks as root in the container.
  ##

  net1# lxc-start -n test
  lxc-start: Out of memory reading cgroups
  lxc-start: failed to spawn 'test'

  Also now cgroup namespaces no longer shows up as enabled. Seems like
  this did show up as enabled in previous kernel. Reading other bugs
  reports, this seems to be okay + will be fixed upstream + I mention it
  here because it's a difference.

  net1# lxc-checkconfig | grep -v enabled
  Kernel configuration not found at /proc/config.gz; searching...
  Kernel configuration found at /boot/config-3.11.0-15-generic
  --- Namespaces ---
  User namespace: missing

  --- Control groups ---
  Cgroup namespace: required

  The cgroup mount point is showing up...

  net1# mount | grep cgroup
  none on /sys/fs/cgroup type tmpfs (rw)
  systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
  none on /sys/fs/cgroup type tmpfs (rw)

  And there is now filesystem entry for the container named test under
  /sys/fs/cgroup so this may also suggest a problem.

  net1# ls /sys/fs/cgroup
  net1#

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