Blame SOURCES/sos-bz1034865-remove-anaconda-ks-cfg-from-general.patch

629484
From 8945cfd19c3d06d6cb79774a5d070016482f6976 Mon Sep 17 00:00:00 2001
629484
From: "Bryn M. Reeves" <bmr@redhat.com>
629484
Date: Tue, 26 Nov 2013 17:33:51 +0000
629484
Subject: [PATCH] Do not collect anaconda-ks.cfg in general plug-in
629484
629484
The anaconda kickstart file is Red Hat specific and should not
629484
be collected in the general plugin. It may also contain plaintext
629484
or encrypted passwords - these are handled properly in the
629484
anaconda plugin itself but are missing from the copy in general.
629484
629484
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
629484
---
629484
 sos/plugins/general.py | 4 ++--
629484
 1 file changed, 2 insertions(+), 2 deletions(-)
629484
629484
diff --git a/sos/plugins/general.py b/sos/plugins/general.py
629484
index d7059e6..a6964c4 100644
629484
--- a/sos/plugins/general.py
629484
+++ b/sos/plugins/general.py
629484
@@ -33,8 +33,8 @@ class General(Plugin):
629484
             "/etc/hostid",
629484
             "/var/lib/dbus/machine-id",
629484
             "/etc/exports",
629484
-            "/etc/localtime",
629484
-            "/root/anaconda-ks.cfg"])
629484
+            "/etc/localtime"
629484
+        ])
629484
 
629484
         self.add_cmd_output("hostname", root_symlink="hostname")
629484
         self.add_cmd_output("date", root_symlink="date")
629484
-- 
629484
1.7.11.7
629484