Blame SOURCES/0071-lvm2-don-t-chroot-if-tmp-is-not-inside-sysroot.patch

0cd6dc
From 583036ad48e5eb025fe0712eb5db31042b35e7a6 Mon Sep 17 00:00:00 2001
0cd6dc
From: "Bryn M. Reeves" <bmr@redhat.com>
0cd6dc
Date: Mon, 26 Jan 2015 00:11:15 +0000
0cd6dc
Subject: [PATCH 71/93] [lvm2] don't chroot if tmp is not inside sysroot
0cd6dc
0cd6dc
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
0cd6dc
---
0cd6dc
 sos/plugins/lvm2.py | 2 +-
0cd6dc
 1 file changed, 1 insertion(+), 1 deletion(-)
0cd6dc
0cd6dc
diff --git a/sos/plugins/lvm2.py b/sos/plugins/lvm2.py
0cd6dc
index f215cfb..62ac9db 100644
0cd6dc
--- a/sos/plugins/lvm2.py
0cd6dc
+++ b/sos/plugins/lvm2.py
0cd6dc
@@ -37,7 +37,7 @@ class Lvm2(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
0cd6dc
             lvmdump_opts = "-a -m"
0cd6dc
         cmd = lvmdump_cmd % (lvmdump_opts,
0cd6dc
                              self.get_cmd_output_path(name="lvmdump"))
0cd6dc
-        self.add_cmd_output(cmd)
0cd6dc
+        self.add_cmd_output(cmd, chroot=self.tmp_in_sysroot())
0cd6dc
 
0cd6dc
     def setup(self):
0cd6dc
         # use locking_type 0 (no locks) when running LVM2 commands,
0cd6dc
-- 
0cd6dc
1.9.3
0cd6dc