[lxc-users] "lxc.pivotdir is ignored"
Matthew Williams
mgwilliams at gmail.com
Mon Sep 28 17:00:50 UTC 2015
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 <serge.hallyn at ubuntu.com>
wrote:
> Quoting Matthew Williams (mgwilliams at gmail.com):
> > 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
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150928/815ef25f/attachment.html>
More information about the lxc-users
mailing list