Yeah, I believe 1.0.x still ships with pivotdir in its config for backward compatibility but also received the change to ignore it, leading to the warning.
1.1.x has updated default configs which no longer includes it. On Mon, Sep 28, 2015 at 01:00:50PM -0400, Matthew Williams wrote: > 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. > > Stephane Graber pointed that out to me on IRC. He also mentioned that the > pivotdir warning is not the problem. > > 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. > > On Mon, Sep 28, 2015 at 12:53 PM, Serge Hallyn <[email protected]> > wrote: > > > Quoting Matthew Williams ([email protected]): > > > Hi, > > > > > > I'm getting the error "lxc.pivotdir is ignored. It will soon become an > > > error" starting unprivileged containers. I've seen several related bug > > > reports and messages, but don't see a clear solution. > > > > ... just don't put lxc.pivotdir in your container config. > > > > Really, the warning is there so that we have the option later of > > removing it, but I don't see us making the pivotdir an error > > any time soon. It's just ignored. The reason it is ignored > > is because we no longer use an 'olddir' when we pivot, so it > > is no longer needed at all. > > > > > Ubuntu 14.04.2 > > > Kernel 3.13.0-48-generic > > > lxc 1.1.3 > > > cgmanager 0.37 > > > > > > /etc/subuid & /etc/subgid: > > > matthew:100000:100001 > > > > > > /home/matthew/.config/lxc/default.conf: > > > lxc.include = /etc/lxc/default.conf > > > lxc.id_map = u 0 100000 100001 > > > lxc.id_map = g 0 100000 100001 > > > > > > I've also tried lxc 1.0.7 and the daily PPA with the same results. > > > > > > I've configured and used unprivileged containers on a number of other > > > similar systems and never encountered this. Any ideas? > > > > > _______________________________________________ > > > lxc-users mailing list > > > [email protected] > > > http://lists.linuxcontainers.org/listinfo/lxc-users > > > > _______________________________________________ > > lxc-users mailing list > > [email protected] > > http://lists.linuxcontainers.org/listinfo/lxc-users > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: Digital signature
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
