From 48e3d0df6d7a2f92afc8a207313e4eb381b00396 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..1f7435b1d2 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}", cmd_as_tag=True) + def postproc(self): for conf in self.config: self.do_file_sub(