[Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-16 Thread Christian Brauner
** Changed in: lxc (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649582 Title: lxc-start fails to start a unprivileged container - cgroup permissions To

[Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-16 Thread Sneetsher
Yeah, it does work as expected now. After: chmod +x /home/sneetsher/.local chmod +x /home/sneetsher/.local/share I was working in real machine. I just checked 3 fresh installed VirtualBox machines 14.04 0755 16.04 0700 16.10 0755 Anyway, this seems only for 16.04. It is better to get that

[Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-16 Thread Sneetsher
Almost forget, Thank you very much for you help. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1649582 Title: lxc-start fails to start a unprivileged container - cgroup permissions To manage

Re: [Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-16 Thread Christian Brauner
Right, the cpuset bug is gone which was your main problem. Now the only thing left to do should be: chmod +x /home/sneetsher/.local Please try again and report back. :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-16 Thread Sneetsher
It couldn't start but got a different error messages. Please, here is the attached log & commands output. ** Attachment added: "lxc_debug_info_after_installing_lxcfs2.0.5.zip"

Re: [Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-16 Thread Christian Brauner
Ok, I think I may have clue. You're using lxcfs in version 2.0.4. This version of lxcfs does not handle uninitialized cpuset hierarchies which can happen when systemd does not allocate a per-user cgroup in the cpuset controller. I fixed this in lxcfs 2.0.5 by reimplementing the cgroup handling

[Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-15 Thread Sneetsher
Yeah, please see lxc_cgroup_debug_outputs.txt file for all outputs and lxc config. ** Attachment added: "lxc_cgroup_debug_outputs.txt" https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1649582/+attachment/4792203/+files/lxc_cgroup_debug_outputs.txt -- You received this bug notification

Re: [Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-15 Thread Christian Brauner
Please attach the container config file and show or attache the output of the following commands: - grep cgroup /proc/1/mountinfo - cat /proc/self/cgroup - ls -al /sys/fs/cgroup - lxcfs --version Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1649582] Re: lxc-start fails to start a unprivileged container - cgroup permissions

2016-12-15 Thread Sneetsher
Yes. $ apt-cache policy libpam-cgfs libpam-cgfs: Installed: 2.0.4-0ubuntu1~ubuntu16.04.1 Candidate: 2.0.4-0ubuntu1~ubuntu16.04.1 Version table: *** 2.0.4-0ubuntu1~ubuntu16.04.1 500 500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 100