[lxc-devel] Error creating node.js bindings

Serge Hallyn serge.hallyn at ubuntu.com
Fri Apr 17 18:23:04 UTC 2015


Quoting Matteo Collina (matteo.collina at gmail.com):
> Hi Everyone,
> 
> I am in the process of writing node bindings for LXC, but I am encountering
> a road block which I do not know how to debug. A call to create outputs as
> unprivileged user:
> 
> lxc: lxccontainer.c: do_create_container_dir: 760 Failed to chown container
> dir

Can you post a full strace, as well as your .config/lxc/default.conf and
/etc/sub[ug]id?

> while running as root it just fails silently.
> 
> The code is available at https://github.com/mcollina/lxc-native.
> 
> (The standard C example works fine, so it should be something related to
> node and lxc).
> 
> Thanks for your help,
> 
> Matteo

> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel



More information about the lxc-devel mailing list