[lxc-devel] What environment variables are needed to run unprivileged lxc-start?
Serge Hallyn
serge.hallyn at ubuntu.com
Tue Jan 13 18:07:23 UTC 2015
Quoting Serge Hallyn (serge.hallyn at ubuntu.com):
> Quoting Adam Ryczkowski (adam.ryczkowski at statystyka.net):
> > I want to write a Puppet manifest for managing unprivileged lxc
> > containers on Ubuntu. Puppet by default strips all environment
> > variables when calls external programs, such as lxc-start.
> > Does anyone knows, what environment variables are needed to run lxc
> > container (apart from $HOME, which is needed for lxc-create)?
>
> Probably looking at src/tests/lxc-test-unpriv should give you
> an idea as it has to do basically that.
It'd probably be worth adding that list to the lxc-start manpage.
Seems like it may be only XDG_RUNTIME_DIR and HOME.
More information about the lxc-devel
mailing list