From 1fdb6b39bb02082ca947b8732fe71dc7e4145150 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 23 May 2014 16:59:06 +0200 Subject: [PATCH] do not call lsof, this is useless and produces huge logs --- sliver_lxc.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sliver_lxc.py b/sliver_lxc.py index 94de3db..5f96dd8 100644 --- a/sliver_lxc.py +++ b/sliver_lxc.py @@ -346,10 +346,12 @@ unset pathmunge if not os.path.exists(containerDir): logger.log('sliver_lxc.destroy: %s cleanly destroyed.'%name) else: - logger.log("-TMP-cwd %s : %s"%(name,os.getcwd())) - logger.log("-TMP-lsof %s"%name) - command=['lsof'] - logger.log_call(command) + # we're in / + #logger.log("-TMP-cwd %s : %s"%(name,os.getcwd())) + # also lsof never shows anything relevant; this is painful.. + #logger.log("-TMP-lsof %s"%name) + #command=['lsof'] + #logger.log_call(command) logger.log("-TMP-ls-l %s"%name) command = ['ls', '-l', containerDir] logger.log_call(command) -- 2.43.0