From 11d0e0b128b4a1fe6db906cd34fc7246cdfe8153 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Fri, 20 Oct 2023 12:04:40 +0200 Subject: [PATCH] [insights] collect recursive listing of three dirs Resolves: #3391 Closes: #3390 Signed-off-by: Pavel Moravec --- sos/report/plugins/insights.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sos/report/plugins/insights.py b/sos/report/plugins/insights.py index c2198fbb8f..d0eea65ac3 100644 --- a/sos/report/plugins/insights.py +++ b/sos/report/plugins/insights.py @@ -50,6 +50,9 @@ def setup(self): timeout=30 ) + for _dir in ["/etc/rhsm", "/sys/kernel", "/var/lib/sss"]: + self.add_cmd_output(f"/bin/ls -lanR {_dir}") + def postproc(self): for conf in self.config: self.do_file_sub(