Blame SOURCES/0068-foreman-don-t-chroot-if-tmp-is-not-inside-sysroot.patch

0cd6dc
From 75936281f6b9d3ca1bdc024f8a68b3e0dc57778e Mon Sep 17 00:00:00 2001
0cd6dc
From: "Bryn M. Reeves" <bmr@redhat.com>
0cd6dc
Date: Mon, 26 Jan 2015 00:04:15 +0000
0cd6dc
Subject: [PATCH 68/93] [foreman] don't chroot if tmp is not inside sysroot
0cd6dc
0cd6dc
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
0cd6dc
---
0cd6dc
 sos/plugins/foreman.py | 4 +++-
0cd6dc
 1 file changed, 3 insertions(+), 1 deletion(-)
0cd6dc
0cd6dc
diff --git a/sos/plugins/foreman.py b/sos/plugins/foreman.py
0cd6dc
index 896add1..dfc97e1 100644
0cd6dc
--- a/sos/plugins/foreman.py
0cd6dc
+++ b/sos/plugins/foreman.py
0cd6dc
@@ -27,7 +27,9 @@ class Foreman(Plugin, RedHatPlugin):
0cd6dc
 
0cd6dc
     def setup(self):
0cd6dc
         cmd = "foreman-debug"
0cd6dc
+
0cd6dc
         path = self.get_cmd_output_path(name="foreman-debug")
0cd6dc
-        self.add_cmd_output("%s -q -a -d %s" % (cmd, path))
0cd6dc
+        self.add_cmd_output("%s -q -a -d %s" % (cmd, path),
0cd6dc
+                            chroot=self.tmp_in_sysroot())
0cd6dc
 
0cd6dc
 # vim: et ts=4 sw=4
0cd6dc
-- 
0cd6dc
1.9.3
0cd6dc