Blame SOURCES/sos-bz1609135-ceph-dont-collect-tmp-mnt.patch

c33036
From dfed1abf3cac691cfc669bbf4e07e58e2e637776 Mon Sep 17 00:00:00 2001
c33036
From: Pavel Moravec <pmoravec@redhat.com>
c33036
Date: Fri, 27 Jul 2018 08:27:45 +0200
c33036
Subject: [PATCH] [apparmor,ceph] fix typo in add_forbidden_path
c33036
c33036
commit 29a40b7 removed leading '/' from two forbidden paths
c33036
c33036
Resolves: #1388
c33036
c33036
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
c33036
---
c33036
 sos/plugins/apparmor.py | 2 +-
c33036
 sos/plugins/ceph.py     | 2 +-
c33036
 2 files changed, 2 insertions(+), 2 deletions(-)
c33036
c33036
diff --git a/sos/plugins/apparmor.py b/sos/plugins/apparmor.py
c33036
index c4c64baf..e239c0b5 100644
c33036
--- a/sos/plugins/apparmor.py
c33036
+++ b/sos/plugins/apparmor.py
c33036
@@ -26,7 +26,7 @@ class Apparmor(Plugin, UbuntuPlugin):
c33036
         self.add_forbidden_path([
c33036
             "/etc/apparmor.d/cache",
c33036
             "/etc/apparmor.d/libvirt/libvirt*",
c33036
-            "etc/apparmor.d/abstractions"
c33036
+            "/etc/apparmor.d/abstractions"
c33036
         ])
c33036
 
c33036
         self.add_cmd_output([
c33036
diff --git a/sos/plugins/ceph.py b/sos/plugins/ceph.py
c33036
index 10e48b62..ed6816b2 100644
c33036
--- a/sos/plugins/ceph.py
c33036
+++ b/sos/plugins/ceph.py
c33036
@@ -77,7 +77,7 @@ class Ceph(Plugin, RedHatPlugin, UbuntuPlugin):
c33036
             "/var/lib/ceph/mon/*",
c33036
             # Excludes temporary ceph-osd mount location like
c33036
             # /var/lib/ceph/tmp/mnt.XXXX from sos collection.
c33036
-            "var/lib/ceph/tmp/*mnt*",
c33036
+            "/var/lib/ceph/tmp/*mnt*",
c33036
             "/etc/ceph/*bindpass*"
c33036
         ])
c33036
 
c33036
-- 
c33036
2.17.1
c33036