<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, May 14, 2016 at 4:29 AM, Fajar A. Nugraha <span dir="ltr"><<a href="mailto:list@fajar.net" target="_blank">list@fajar.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On Fri, May 13, 2016 at 9:30 PM, Rémy Dernat <span dir="ltr"><<a href="mailto:remy.d1@gmail.com" target="_blank">remy.d1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Fajar,<div><br></div><div>Thank you for your detailed answer. However, I searched a solution a little bit today, and I am still stuck.</div><div><br></div><div>For "userpace", I meant "userspace", of course. Sorry for mistyped.</div><div><br></div><div><br></div><div>Here are what I checked:</div><div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div>LXC tests in userspace</div><div><br></div><div>1. [VirtualBox] Fresh Ubuntu 14.04.2 server amd64</div><div>    creation OK, starting not OK</div><div>    without cgmanager, with libpam-systemd</div></blockquote></div></div></blockquote><div><br></div><div><br></div></span><div>Don't bother with older version (e.g. 14.04.2). Lxc is a fast moving target </div><span class=""><div><br></div></span></div></div></div></blockquote><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div></div></span><div>The presence of libpam-systemd suggests you still use lxc-1.x. I'd suggest NOT to use that if you intend to use unpriv containers. To be accurate, it should work fine for privileged containers (i.e. created and started by root). But for unpriv containers, you'd need lxcfs (and probably some other manual setup)</div><div><br></div><div>Stick with the ppa for 14.04, and use lxc-2. If you still have libpam-systemd installed, remove it.</div><span class=""><div><br></div></span></div></div></div></blockquote><div><br></div><div><br></div><div>To clarify:</div><div>- use latest minor version if you need 14.04 (e.g. 14.04.4, and run apt-get update && apt-get upgrade afterwards)</div><div>- uninstall any remains of cgmanager (libcgmanager0 is fine though, don't uninstall it) or libpam-systemd </div><div>- use <a href="https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxc-stable">https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/lxc-stable</a> , install lxc</div><div><br></div><div>It IS possible to run unpriv containers with lxc-1.x, but in my experience it requires some intervention here and there (like "chmod" or "setfacl"). On the other hand, lxc-2.x from ppa simply works.</div><div><br></div><div>-- </div><div>Fajar</div></div></div></div>