Quoting Stéphane Graber (stgra...@ubuntu.com):
> Re-arrange the code so that we only grab the container object when doing
> something more than building a simple list of existing containers.
>
> This means that now the following calls can run unprivileged:
> - lxc-ls
> - lxc-ls -1
>
> Everythin
Re-arrange the code so that we only grab the container object when doing
something more than building a simple list of existing containers.
This means that now the following calls can run unprivileged:
- lxc-ls
- lxc-ls -1
Everything else will still require root privileges.
Signed-off-by: Stép