aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2016-05-07 15:27:59 +0200
committerBryn M. Reeves <bmr@redhat.com>2016-05-24 17:44:03 +0100
commit69663124b7b841d8f0847238bd5dfbf800dd8f07 (patch)
treeb209f7a45f27df0818e9d5662da603bb2be5a4f6
parent97b7f2972ccb695e9e97baaae416c79504eb63a8 (diff)
downloadsos-69663124b7b841d8f0847238bd5dfbf800dd8f07.tar.gz
[lvm2] lvmdump does not collect any data
Suppress creating lvmdump directory that the tool needs to create on its own. Fixes #815 Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/lvm2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/lvm2.py b/sos/plugins/lvm2.py
index c6262315..6079229f 100644
--- a/sos/plugins/lvm2.py
+++ b/sos/plugins/lvm2.py
@@ -36,7 +36,8 @@ class Lvm2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
if metadata:
lvmdump_opts = "-a -m"
cmd = lvmdump_cmd % (lvmdump_opts,
- self.get_cmd_output_path(name="lvmdump"))
+ self.get_cmd_output_path(name="lvmdump",
+ make=False))
self.add_cmd_output(cmd, chroot=self.tmp_in_sysroot())
def setup(self):