Disable live config reload

Resolves: rhbz#2042532
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
This commit is contained in:
Zoltan Fridrich 2022-02-09 17:02:22 +01:00
parent 778c959c06
commit 8b49674631
2 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,19 @@
diff --color -ru a/lib/priority.c b/lib/priority.c
--- a/lib/priority.c 2022-01-14 07:53:21.000000000 +0100
+++ b/lib/priority.c 2022-02-15 09:31:36.388485784 +0100
@@ -2030,15 +2030,6 @@
additional++;
}
- /* Always try to refresh the cached data, to allow it to be
- * updated without restarting all applications.
- */
- ret = _gnutls_update_system_priorities();
- if (ret < 0) {
- _gnutls_debug_log("failed to update system priorities: %s\n",
- gnutls_strerror(ret));
- }
-
do {
ss_next = strchr(ss, ',');
if (ss_next) {

View File

@ -1,9 +1,10 @@
Version: 3.7.3
Release: 2%{?dist}
Release: 3%{?dist}
Patch1: gnutls-3.6.7-no-now-guile.patch
Patch2: gnutls-3.2.7-rpath.patch
Patch3: gnutls-3.7.2-enable-intel-cet.patch
Patch4: gnutls-3.7.2-no-explicit-init.patch
Patch5: gnutls-3.7.3-disable-config-reload.patch
%bcond_with bootstrap
%bcond_without dane
%if 0%{?rhel}
@ -309,6 +310,9 @@ make check %{?_smp_mflags} GNUTLS_SYSTEM_PRIORITY_FILE=/dev/null
%endif
%changelog
* Tue Feb 15 2022 Zoltan Fridrich <zfridric@redhat.com> - 3.7.3-3
- Disable config reload in order to not break allowlisting (#2042532)
* Wed Feb 2 2022 Daiki Ueno <dueno@redhat.com> - 3.7.3-2
- Build with TPM2 support, patch from Alexander Sosedkin (#2033220)