|
|
e0e1b7 |
From 0d44e959e5bbe822b51137a8e7cf48fa25533805 Mon Sep 17 00:00:00 2001
|
|
|
e0e1b7 |
From: Rafael Guterres Jeffman <rjeffman@redhat.com>
|
|
|
e0e1b7 |
Date: Fri, 10 Dec 2021 12:15:36 -0300
|
|
|
e0e1b7 |
Subject: [PATCH] Revert "freeipa.spec: depend on bind-dnssec-utils"
|
|
|
e0e1b7 |
|
|
|
e0e1b7 |
This reverts commit f89d59b6e18b54967682f6a37ce92ae67ab3fcda.
|
|
|
e0e1b7 |
---
|
|
|
e0e1b7 |
freeipa.spec.in | 4 +---
|
|
|
e0e1b7 |
ipaplatform/base/paths.py | 2 +-
|
|
|
e0e1b7 |
ipaplatform/fedora/paths.py | 1 +
|
|
|
e0e1b7 |
ipaserver/dnssec/bindmgr.py | 1 -
|
|
|
e0e1b7 |
4 files changed, 3 insertions(+), 5 deletions(-)
|
|
|
e0e1b7 |
|
|
|
e0e1b7 |
diff --git a/freeipa.spec.in b/freeipa.spec.in
|
|
|
e0e1b7 |
index 8f5c370e5..e20edb7bc 100755
|
|
|
e0e1b7 |
--- a/freeipa.spec.in
|
|
|
e0e1b7 |
+++ b/freeipa.spec.in
|
|
|
e0e1b7 |
@@ -576,11 +576,9 @@ Requires: %{name}-server = %{version}-%{release}
|
|
|
e0e1b7 |
Requires: bind-dyndb-ldap >= 11.2-2
|
|
|
e0e1b7 |
Requires: bind >= %{bind_version}
|
|
|
e0e1b7 |
Requires: bind-utils >= %{bind_version}
|
|
|
e0e1b7 |
-# bind-dnssec-utils is required by the OpenDNSSec integration
|
|
|
e0e1b7 |
-# https://pagure.io/freeipa/issue/9026
|
|
|
e0e1b7 |
-Requires: bind-dnssec-utils >= %{bind_version}
|
|
|
e0e1b7 |
%if %{with bind_pkcs11}
|
|
|
e0e1b7 |
Requires: bind-pkcs11 >= %{bind_version}
|
|
|
e0e1b7 |
+Requires: bind-pkcs11-utils >= %{bind_version}
|
|
|
e0e1b7 |
%else
|
|
|
e0e1b7 |
Requires: softhsm >= %{softhsm_version}
|
|
|
e0e1b7 |
Requires: openssl-pkcs11 >= %{openssl_pkcs11_version}
|
|
|
e0e1b7 |
diff --git a/ipaplatform/base/paths.py b/ipaplatform/base/paths.py
|
|
|
e0e1b7 |
index 7d21367ec..42a47f1df 100644
|
|
|
e0e1b7 |
--- a/ipaplatform/base/paths.py
|
|
|
e0e1b7 |
+++ b/ipaplatform/base/paths.py
|
|
|
706194 |
@@ -259,7 +259,6 @@ class BasePathNamespace:
|
|
|
e0e1b7 |
IPA_PKI_RETRIEVE_KEY = "/usr/libexec/ipa/ipa-pki-retrieve-key"
|
|
|
e0e1b7 |
IPA_HTTPD_PASSWD_READER = "/usr/libexec/ipa/ipa-httpd-pwdreader"
|
|
|
e0e1b7 |
IPA_PKI_WAIT_RUNNING = "/usr/libexec/ipa/ipa-pki-wait-running"
|
|
|
e0e1b7 |
- DNSSEC_KEYFROMLABEL = "/usr/sbin/dnssec-keyfromlabel"
|
|
|
e0e1b7 |
+ DNSSEC_KEYFROMLABEL = "/usr/sbin/dnssec-keyfromlabel-pkcs11"
|
|
|
706194 |
- DNSSEC_KEYFROMLABEL_9_17 = "/usr/bin/dnssec-keyfromlabel"
|
|
|
e0e1b7 |
GETSEBOOL = "/usr/sbin/getsebool"
|
|
|
e0e1b7 |
GROUPADD = "/usr/sbin/groupadd"
|
|
|
e0e1b7 |
diff --git a/ipaplatform/fedora/paths.py b/ipaplatform/fedora/paths.py
|
|
|
e0e1b7 |
index 4e993c063..92a948966 100644
|
|
|
e0e1b7 |
--- a/ipaplatform/fedora/paths.py
|
|
|
e0e1b7 |
+++ b/ipaplatform/fedora/paths.py
|
|
|
e0e1b7 |
@@ -36,6 +36,7 @@ class FedoraPathNamespace(RedHatPathNamespace):
|
|
|
e0e1b7 |
NAMED_CRYPTO_POLICY_FILE = "/etc/crypto-policies/back-ends/bind.config"
|
|
|
e0e1b7 |
if HAS_NFS_CONF:
|
|
|
e0e1b7 |
SYSCONFIG_NFS = '/etc/nfs.conf'
|
|
|
e0e1b7 |
+ DNSSEC_KEYFROMLABEL = "/usr/sbin/dnssec-keyfromlabel"
|
|
|
706194 |
|
|
|
706194 |
|
|
|
e0e1b7 |
paths = FedoraPathNamespace()
|
|
|
e0e1b7 |
diff --git a/ipaserver/dnssec/bindmgr.py b/ipaserver/dnssec/bindmgr.py
|
|
|
e0e1b7 |
index 0c79cc03d..a15c0e601 100644
|
|
|
e0e1b7 |
--- a/ipaserver/dnssec/bindmgr.py
|
|
|
e0e1b7 |
+++ b/ipaserver/dnssec/bindmgr.py
|
|
|
e0e1b7 |
@@ -127,7 +127,6 @@ class BINDMgr:
|
|
|
e0e1b7 |
)
|
|
|
e0e1b7 |
cmd = [
|
|
|
e0e1b7 |
paths.DNSSEC_KEYFROMLABEL,
|
|
|
e0e1b7 |
- '-E', 'pkcs11',
|
|
|
e0e1b7 |
'-K', workdir,
|
|
|
e0e1b7 |
'-a', attrs['idnsSecAlgorithm'][0],
|
|
|
e0e1b7 |
'-l', uri
|
|
|
706194 |
--
|
|
|
e0e1b7 |
2.31.1
|