Public bug reported:

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#

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

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

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/1271000/+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