[lxc-users] "lxc.pivotdir is ignored"

Serge Hallyn serge.hallyn at ubuntu.com
Mon Sep 28 16:53:34 UTC 2015


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



More information about the lxc-users mailing list