[Bug 1317179] Re: lxc containers fail to start in trusty with newer kernels

Stéphane Graber stgraber at stgraber.org
Thu May 8 23:34:25 UTC 2014


Uploaded to the queue.

Testcase:
 - Install current upstream kernel on trusty (3.15)
 - Confirm that /proc/self/cgroup is incorrect for the net_cls cgroup
 - Update systemd-services
 - Reboot
 - Confirm that /proc/self/cgroup now looks identical for net_cls as for other controllers.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1317179

Title:
  lxc containers fail to start in trusty with newer kernels

Status in “systemd” package in Ubuntu:
  Fix Released
Status in “systemd” source package in Trusty:
  In Progress

Bug description:
  When running a trusty userspace with a newer kernel (e.g. 3.15-rc4),
  attempting to start a container fails:

  $ lxc-start -n p2
  lxc_container: call to cgmanager_create_sync failed: invalid request
  lxc_container: Failed to create net_cls:p2
  lxc_container: Error creating cgroup net_cls:p2
  lxc_container: failed creating cgroups
  lxc_container: failed to spawn 'p2'

  Iiuc, this seems to be caused new cgroups in the kernel which aren't
  enabled for systemd but that lxc tries to configure anyway.

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



More information about the foundations-bugs mailing list