]> git.ipfire.org Git - thirdparty/lxc.git/commit
Set default paths for unprivileged use (v2)
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 20 Dec 2013 13:28:32 +0000 (14:28 +0100)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 23 Dec 2013 16:16:07 +0000 (10:16 -0600)
commit4878dac496543dae0a26f5c1156bbfda63c8ea62
tree58b83c4adb22ef02104487ba3a470a82ec4ce04f
parent619256b5ee8bf68bf670cd60b0723b94ce069121
Set default paths for unprivileged use (v2)

When running unprivileged (euid != 0), LXC will now use the following paths:
 - Default lxc path: ~/.local/share/lxc/
 - Default config path: ~/.config/lxc/lxc.conf

Those two paths are based on standard XDG paths (though ignoring all the
possible override paths for now at least) and so probably don't need to
be configurable at build time.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
src/lxc/utils.c