]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/cgroups/cgfs.c
stop cmd callback: unfreeze by path only
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 15 Jan 2014 19:40:53 +0000 (13:40 -0600)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 16 Jan 2014 04:56:43 +0000 (23:56 -0500)
commit0086f49995a77fe66ad7573834c941ca5d24f4d2
tree855788f584a46177d989c02d440aaa85028affab
parent6873d6f078d801c36948c2e63c3fc8f58812aeea
stop cmd callback: unfreeze by path only

in particular, regular unfreeze uses the cmd api to request the cgroup
of the container.  If we are already in the lxc-start monitor, we can't
use the cmd api.

(I knew when I started this would be a problem but then as it didn't
reliably crash, I forgot to handle it)

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