Blame SOURCES/sos-bz1688764-ipa-new-logs.patch

4087f6
From f2350aece8a6980f80cfa0036382055239fd8a6b Mon Sep 17 00:00:00 2001
4087f6
From: Thorsten Scherf <tscherf@redhat.com>
4087f6
Date: Mon, 1 Jul 2019 11:37:47 +0200
4087f6
Subject: [PATCH] [ipa] copy httpd cert from new location
4087f6
4087f6
With the FreeIPA 4.7.0 release, httpd moved from mod_nss to mod_ssl. As a
4087f6
result the httpd X.509 certificate is now no longer stored in NSS DB but as
4087f6
plain PEM text file: /var/lib/ipa/certs/httpd.crt. The plugin needs to copy
4087f6
this file into the sos archive.
4087f6
4087f6
Closes: #1715
4087f6
Resolves: #1716
4087f6
4087f6
Signed-off-by: Thorsten Scherf <tscherf@redhat.com>
4087f6
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
4087f6
---
4087f6
 sos/plugins/ipa.py | 1 +
4087f6
 1 file changed, 1 insertion(+)
4087f6
4087f6
diff --git a/sos/plugins/ipa.py b/sos/plugins/ipa.py
4087f6
index 50f42f259..310c0fa31 100644
4087f6
--- a/sos/plugins/ipa.py
4087f6
+++ b/sos/plugins/ipa.py
4087f6
@@ -115,6 +115,7 @@ def setup(self):
4087f6
             "/var/lib/certmonger/requests/[0-9]*",
4087f6
             "/var/lib/certmonger/cas/[0-9]*",
4087f6
             "/var/lib/ipa/ra-agent.pem",
4087f6
+            "/var/lib/ipa/certs/httpd.crt",
4087f6
             "/var/kerberos/krb5kdc/kdc.crt",
4087f6
             "/var/lib/ipa/sysrestore/sysrestore.state"
4087f6
         ])
4087f6
From 5c0b2d56313b6fa58b46802317c98b89e5a68508 Mon Sep 17 00:00:00 2001
4087f6
From: Rob Crittenden <rcritten@redhat.com>
4087f6
Date: Thu, 12 Sep 2019 12:02:34 -0400
4087f6
Subject: [PATCH] [ipa] collect ipa-healthcheck logs
4087f6
4087f6
Resolves: #1782
4087f6
4087f6
Signed-off-by: Rob Crittenden <rcritten@redhat.com>
4087f6
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
4087f6
---
4087f6
 sos/plugins/ipa.py | 3 ++-
4087f6
 1 file changed, 2 insertions(+), 1 deletion(-)
4087f6
4087f6
diff --git a/sos/plugins/ipa.py b/sos/plugins/ipa.py
4087f6
index 310c0fa31..750cb6fae 100644
4087f6
--- a/sos/plugins/ipa.py
4087f6
+++ b/sos/plugins/ipa.py
4087f6
@@ -117,7 +117,8 @@ def setup(self):
4087f6
             "/var/lib/ipa/ra-agent.pem",
4087f6
             "/var/lib/ipa/certs/httpd.crt",
4087f6
             "/var/kerberos/krb5kdc/kdc.crt",
4087f6
-            "/var/lib/ipa/sysrestore/sysrestore.state"
4087f6
+            "/var/lib/ipa/sysrestore/sysrestore.state",
4087f6
+            "/var/log/ipa/healthcheck/healthcheck.log*"
4087f6
         ])
4087f6
 
4087f6
         #  Make sure to use the right PKI config and NSS DB folders
4087f6
From 823dbabde82ee941c421482a71be572984607ad4 Mon Sep 17 00:00:00 2001
4087f6
From: Pavel Moravec <pmoravec@redhat.com>
4087f6
Date: Tue, 1 Oct 2019 08:26:24 +0200
4087f6
Subject: [PATCH] [ipa] collect kdcproxy configs
4087f6
4087f6
Resolves: #1806
4087f6
4087f6
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
4087f6
---
4087f6
 sos/plugins/ipa.py | 3 +++
4087f6
 1 file changed, 3 insertions(+)
4087f6
4087f6
diff --git a/sos/plugins/ipa.py b/sos/plugins/ipa.py
4087f6
index 750cb6fae..d3454de98 100644
4087f6
--- a/sos/plugins/ipa.py
4087f6
+++ b/sos/plugins/ipa.py
4087f6
@@ -111,6 +111,9 @@ def setup(self):
4087f6
             "/etc/named.*",
4087f6
             "/etc/ipa/ca.crt",
4087f6
             "/etc/ipa/default.conf",
4087f6
+            "/etc/ipa/kdcproxy/kdcproxy.conf",
4087f6
+            "/etc/ipa/kdcproxy/ipa-kdc-proxy.conf",
4087f6
+            "/etc/ipa/kdcproxy.conf",
4087f6
             "/root/.ipa/log/cli.log",
4087f6
             "/var/lib/certmonger/requests/[0-9]*",
4087f6
             "/var/lib/certmonger/cas/[0-9]*",