From cf56fe4ab94d76ab40b2fe6165d1469b57188d33 Mon Sep 17 00:00:00 2001 From: Matus Marhefka <mmarhefk@redhat.com> Date: Mon, 20 Jan 2025 15:45:52 +0100 Subject: [PATCH] Select enable_dracut_fips_module in RHEL 9 ISM_O profile As RHEL 9 ISM_O profile enables FIPS mode (selects rules `enable_fips_mode` and `configure_crypto_policy` with `var_system_crypto_policy=fips`) it also needs to select the rule `enable_dracut_fips_module`. This issue was not discovered before because on normal systems the `fips-mode-setup` (called in `enable_fips_mode` rule remediation) ensures the installation of the FIPS dracut module. But in RHEL Image Mode the `fips-mode-setup` is not used and so the FIPS dracut module needs to be enabled by remediation of the `enable_dracut_fips_module` rule. --- products/rhel9/profiles/ism_o.profile | 1 + 1 file changed, 1 insertion(+) diff --git a/products/rhel9/profiles/ism_o.profile b/products/rhel9/profiles/ism_o.profile index 3c2d85d26ef..f805b37a118 100644 --- a/products/rhel9/profiles/ism_o.profile +++ b/products/rhel9/profiles/ism_o.profile @@ -127,6 +127,7 @@ selections: ## 0479 / 0480 / 0481 / 0489 / 0497 / 0994 / 0998 / 1001 / 1139 / ## 1372 / 1373 / 1374 / 1375 - enable_fips_mode + - enable_dracut_fips_module - var_system_crypto_policy=fips - configure_crypto_policy