[Bug 1533833] Re: unprivileged lxc containers won't start

Serge Hallyn 1533833 at bugs.launchpad.net
Wed Jan 13 22:17:51 UTC 2016


You're using a newer kernel which provides the 'pids' cgroup.  Systemd doesn't
know about that one and so doesn't create a cgroup for you that you own.  Lxc
in turn (in wily) doesn't yet know how to handle that.

You can work around this several ways.  The simplest is to do

sudo cgm create pids user
sudo cgm chown pids user $(id -u) $(id -g)
cgm movepid pids user $$

before you start the container.


** Also affects: systemd (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lxc (Ubuntu)
   Importance: Undecided => Medium

** Changed in: lxc (Ubuntu)
       Status: New => Confirmed

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

Title:
  unprivileged lxc containers won't start

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



More information about the Ubuntu-server-bugs mailing list