]> git.proxmox.com Git - mirror_lxc.git/commit
Make lxc-execute without rootfs work.
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 31 Aug 2012 15:58:56 +0000 (08:58 -0700)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 25 Oct 2012 08:19:37 +0000 (10:19 +0200)
commit9ac3ffb51777ee48ffbd42ff3625f63dfe948837
tree5afd3cccee1b28de0c2f6e9ed7f66e0bc8f6e62a
parent10f73bfa4aece7707f48379b82e5858d1909d98f
Make lxc-execute without rootfs work.

That means, don't try to pin a null rootfs, and don't try to mount /proc
since /var/lib/lxc/root/proc doesn't exist to be mounted onto.
The apparmor patches are not yet upstream, so this patch will not go
upstream by itself.

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