diff options
author | Paweł Poławski <ppolawsk@redhat.com> | 2021-03-12 12:42:30 +0100 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-03-16 11:51:36 -0400 |
commit | d03c2fa4439c87783293c922b2825cf86e8818bd (patch) | |
tree | f31f5c951069118b0c74f50b3ec8c93b76fc7a05 | |
parent | 847b2667351c845540e8801f81578c1d3737198a (diff) | |
download | sos-d03c2fa4439c87783293c922b2825cf86e8818bd.tar.gz |
[sssd] Enable collecting SSSD memory cache
SSSD plugin by default collects only logs and configuration.
This patch enables collecting memory cache maintained
by SSSD daemon. Cache does not contain any client sensible
data so can be safely included in the sos-report.
Resolves: #2444
Signed-off-by: Paweł Poławski <ppolawsk@redhat.com>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/report/plugins/sssd.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sos/report/plugins/sssd.py b/sos/report/plugins/sssd.py index 9469c41c..aeb68c4f 100644 --- a/sos/report/plugins/sssd.py +++ b/sos/report/plugins/sssd.py @@ -23,10 +23,14 @@ class Sssd(Plugin): def setup(self): self.add_copy_spec([ + # Main config file "/etc/sssd/sssd.conf", - "/var/lib/sss/pubconf/krb5.include.d/*", # SSSD 1.14 - "/etc/sssd/conf.d/*.conf" + "/etc/sssd/conf.d/*.conf", + # Memory cache + "/var/lib/sss/mc/*", + # Dynamic Kerberos configuration + "/var/lib/sss/pubconf/krb5.include.d/*" ]) # add individual log files |