<div dir="ltr"><div><div>Thanks Serge! As it turns out, my issue was related to not rebooting after installing LXC, which is required to get the cgroups set up properly for unprivileged containers.<br><br></div>Stephane Graber pointed that out to me on IRC. He also mentioned that the pivotdir warning is not the problem.<br><br></div>As far as not putting it in the container config -- I'm using the default config installed by lxc. But I purged and installed several versions, so I may have wound up with a config from 1.0.x.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 28, 2015 at 12:53 PM, Serge Hallyn <span dir="ltr"><<a href="mailto:serge.hallyn@ubuntu.com" target="_blank">serge.hallyn@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Quoting Matthew Williams (<a href="mailto:mgwilliams@gmail.com">mgwilliams@gmail.com</a>):<br>
> Hi,<br>
><br>
> I'm getting the error "lxc.pivotdir is ignored. It will soon become an<br>
> error" starting unprivileged containers. I've seen several related bug<br>
> reports and messages, but don't see a clear solution.<br>
<br>
</span>... just don't put lxc.pivotdir in your container config.<br>
<br>
Really, the warning is there so that we have the option later of<br>
removing it, but I don't see us making the pivotdir an error<br>
any time soon. It's just ignored. The reason it is ignored<br>
is because we no longer use an 'olddir' when we pivot, so it<br>
is no longer needed at all.<br>
<span class=""><br>
> Ubuntu 14.04.2<br>
> Kernel 3.13.0-48-generic<br>
> lxc 1.1.3<br>
> cgmanager 0.37<br>
><br>
> /etc/subuid & /etc/subgid:<br>
> matthew:100000:100001<br>
><br>
> /home/matthew/.config/lxc/default.conf:<br>
> lxc.include = /etc/lxc/default.conf<br>
> lxc.id_map = u 0 100000 100001<br>
> lxc.id_map = g 0 100000 100001<br>
><br>
> I've also tried lxc 1.0.7 and the daily PPA with the same results.<br>
><br>
> I've configured and used unprivileged containers on a number of other<br>
> similar systems and never encountered this. Any ideas?<br>
<br>
</span>> _______________________________________________<br>
> lxc-users mailing list<br>
> <a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a><br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br></div>