[lxc-users] Can't Start Unprivileged Container in Ubuntu

Fajar A. Nugraha list at fajar.net
Wed Feb 11 22:57:27 UTC 2015


On Wed, Feb 11, 2015 at 8:16 PM,  <jqford at hotmail.com> wrote:
>>> jimmy at jimmyscomputer:~$ lxc-start -n p1 -F
>>>
>>>
>>> "lxc-start: start.c: print_top_failing_dir: 102 Permission denied - could
>>> not access /home/jimmy.  Please grant it 'x' access, or add an ACL for the
>>> container root.

> So I should just move the lxc.rootfs outside of /home/jimmy/ to a place
> where 100000 can access it?

One way to do it. But not the ONLY way.
The other way would be to keep it where it is and do what the error
message says about "x".

> Would this still be considered an unprivileged
> container?

Yes

> My system is pretty much plain vanilla.  Wondering if other
> people that followed the  "Creating unprivileged containers as a user" under
> the Getting Started guide found at
> https://linuxcontainers.org/lxc/getting-started/ ran into the same issue

Not if their home directory has 755 permission by default, which is
what I get on ubuntu 14.04

-- 
Fajar


More information about the lxc-users mailing list