[lxc-users] LXD: error: open /etc/subuid: no such file or directory

Kunal Kushwaha kunalkushwahaoss at gmail.com
Wed Nov 12 18:08:17 UTC 2014


Hi Stéphane,

I am now setting up  my dev environment in ubuntu-trusty-32 with
kernel 3.13.0-39-generic.
Now I am getting problem

root at vagrant-ubuntu-trusty-32:/home/vagrant/go/src/github.com/lxc/lxd/lxd# ./lxd
error: User "root" has no subuids.


Basically I am creating  dev environment in vagrant.


Regards,
Kunal Kushwaha




On Tue, Nov 11, 2014 at 11:53 PM, Stéphane Graber <stgraber at ubuntu.com> wrote:
> On Tue, Nov 11, 2014 at 11:51:01PM +0530, Kunal Kushwaha wrote:
>> Hi,
>>
>> I am trying setup development environment for lxd.
>> But I am facing issue of "error: open /etc/subuid: no such file or directory"
>>
>> $sudo ./lxd --tcp 127.0.0.1:8080
>> error: open /etc/subuid: no such file or directory
>>
>> Please help to resolve this.
>>
>> Regards,
>> Kunal Kushwaha
>
> You need a system with unprivileged LXC support, which currently means a
> 3.12 or higher kernel and a recent enough version of shadow to get you
> /etc/subuid and /etc/subgid as well as newuidmap and newgidmap.
>
> You can read more about that requirement of lxd at:
>  - https://github.com/lxc/lxd/issues/19
>  - https://github.com/lxc/lxd/blob/master/specs/userns-idmap.md
>
> --
> Stéphane Graber
> Ubuntu developer
> http://www.ubuntu.com
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list