sos/sos-pcp-collect-config.patch
Bryn M. Reeves 89b86368f8 Update spec file for sos-3.2-1
Update sos in rawhide to the upstream 3.2 release and additional
patches including the fix for CVE-2015-7529.
2015-12-16 15:53:30 +00:00

32 lines
857 B
Diff

From 9cf393ac27728287927d2c1400e046a8c16679e7 Mon Sep 17 00:00:00 2001
From: "Bryn M. Reeves" <bmr@redhat.com>
Date: Wed, 11 Feb 2015 21:17:11 +0000
Subject: [PATCH] [pcp] collect /etc/pcp.conf
The file /etc/pcp.conf is added to list of lists that will be collected.
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Fixes #465.
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
---
sos/plugins/pcp.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/sos/plugins/pcp.py b/sos/plugins/pcp.py
index a696908..69872a3 100644
--- a/sos/plugins/pcp.py
+++ b/sos/plugins/pcp.py
@@ -89,6 +89,7 @@ class Pcp(Plugin, RedHatPlugin, DebianPlugin):
var_conf_dir = os.path.join(self.pcp_var_dir, 'config')
self.add_copy_spec([
self.pcp_sysconf_dir,
+ self.pcp_conffile,
var_conf_dir
])
--
1.8.3.1