From fdd471d55c73503456683b1dea55769700730b16 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 18 Jul 2024 13:40:28 -0400 Subject: [PATCH] Fix a copy/paste issue when detecting the HSM SELinux subpackage I made a mistake when trying to detect which HSM is being used to ensure that the appropriate SELinux subpackage is installed. Fixes: https://pagure.io/freeipa/issue/9636 Signed-off-by: Rob Crittenden Reviewed-By: Florence Blanc-Renaud --- ipaserver/install/ca.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipaserver/install/ca.py b/ipaserver/install/ca.py index b8155d996..e57dc4758 100644 --- a/ipaserver/install/ca.py +++ b/ipaserver/install/ca.py @@ -265,7 +265,7 @@ def hsm_validator(token_name, token_library, token_password): if 'nfast' in token_library: module = 'ipa-selinux-nfast' elif 'luna' in token_library: - module = 'ipa-selinux-nfast' + module = 'ipa-selinux-luna' else: module = None if module: