aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Castillo <jcastillo@redhat.com>2024-03-21 08:15:58 +0000
committerJake Hunsaker <jacob.r.hunsaker@gmail.com>2024-03-21 18:45:56 -0400
commit247be94c95de9f1208c1052db59742e4aa7c05d0 (patch)
treee3ec78696a5d1892f3f71169b09f2d4875a1e743
parent28f5ea25faecbe6a502e2f4de6c23fcaf18a1f32 (diff)
downloadsos-247be94c95de9f1208c1052db59742e4aa7c05d0.tar.gz
[cifs] Capture missing files from /proc/fs/cifs
Added some missing files from /proc/fs/cifs and blacklist some files that we don't need to capture. Related: RH: RHEL-29707 Signed-off-by: Jose Castillo <jcastillo@redhat.com>
-rw-r--r--sos/report/plugins/cifs.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/sos/report/plugins/cifs.py b/sos/report/plugins/cifs.py
index c0932332..dd5b0e18 100644
--- a/sos/report/plugins/cifs.py
+++ b/sos/report/plugins/cifs.py
@@ -17,14 +17,16 @@ class Cifs(Plugin, IndependentPlugin):
packages = ('cifs-utils',)
def setup(self):
+ self.add_forbidden_path([
+ "/proc/fs/cifs/traceSMB",
+ "/proc/fs/cifs/cifsFYI",
+ ])
+
self.add_copy_spec([
"/etc/request-key.d/cifs.spnego.conf",
"/etc/request-key.d/cifs.idmap.conf",
"/proc/keys",
- "/proc/fs/cifs/LinuxExtensionsEnabled",
- "/proc/fs/cifs/SecurityFlags",
- "/proc/fs/cifs/Stats",
- "/proc/fs/cifs/DebugData",
+ "/proc/fs/cifs/*",
])
# vim: set et ts=4 sw=4 :