The lock path for lxc is not RUNTIME_PATH/lock/lxc
but rather RUNTIME_PATH/lxc/lock Signed-off-by: Christian Brauner <christian.brau...@mailbox.org> --- src/lxc/lxc-ls.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxc-ls.in b/src/lxc/lxc-ls.in index dc2b2ba..b83ee73 100755 --- a/src/lxc/lxc-ls.in +++ b/src/lxc/lxc-ls.in @@ -392,7 +392,7 @@ def get_containers(fd=None, base="/", root=False): else: def clear_lock(): try: - lock_path = "%s/lock/lxc/%s/%s" % (RUNTIME_PATH, + lock_path = "%s/lxc/lock/%s/%s" % (RUNTIME_PATH, path, entry['name']) if os.path.exists(lock_path): -- 2.7.0 _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel