2022-01-11 17:18:03 +00:00
|
|
|
From c50bb81e40b36a74c15f9bc515a2f04a1eb00673 Mon Sep 17 00:00:00 2001
|
2021-11-03 21:32:14 +00:00
|
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
|
Date: Tue, 29 Jun 2021 15:29:11 +0100
|
|
|
|
Subject: [PATCH] RHEL: Create /etc/crypto-policies/back-ends/opensslcnf.config
|
|
|
|
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13
|
|
|
|
---
|
|
|
|
appliance/init | 8 ++++++++
|
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/appliance/init b/appliance/init
|
2021-12-07 18:26:14 +00:00
|
|
|
index 7076821d2..fe6497b4d 100755
|
2021-11-03 21:32:14 +00:00
|
|
|
--- a/appliance/init
|
|
|
|
+++ b/appliance/init
|
2021-12-07 18:26:14 +00:00
|
|
|
@@ -76,6 +76,14 @@ if ! test -e /etc/mtab; then
|
2021-11-03 21:32:14 +00:00
|
|
|
ln -s /proc/mounts /etc/mtab
|
|
|
|
fi
|
|
|
|
|
|
|
|
+# openssl 3 requires /etc/crypto-policies/back-ends/opensslcnf.config
|
|
|
|
+# to exist, but it is created in a %post script in crypto-policies
|
|
|
|
+# https://bugzilla.redhat.com/show_bug.cgi?id=1977214#c13
|
|
|
|
+if ! test -r /etc/crypto-policies/back-ends/opensslcnf.config &&
|
|
|
|
+ test -f /usr/share/crypto-policies/DEFAULT/opensslcnf.txt; then
|
|
|
|
+ ln -s /usr/share/crypto-policies/DEFAULT/opensslcnf.txt /etc/crypto-policies/back-ends/opensslcnf.config
|
|
|
|
+fi
|
|
|
|
+
|
2021-12-07 18:26:14 +00:00
|
|
|
# Static nodes must happen before udev is started.
|
|
|
|
|
|
|
|
# Set up kmod static-nodes (RHBZ#1011907).
|
2021-11-03 21:32:14 +00:00
|
|
|
--
|
2022-04-05 10:46:12 +00:00
|
|
|
2.31.1
|
2021-11-03 21:32:14 +00:00
|
|
|
|