-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
rhel-sst-virtualization-cloud
-
ssg_virtualization
-
1
-
False
-
-
None
-
RHELOPC Sprint 1, RHELOPC Sprint 2, RHELOPC Sprint 3, RHELOPC Sprint 22, RHELOPC Sprint 23
-
None
-
Automated
-
None
Goal
North America Public Sales (NAPS) team was asking how to optionally enable FIPS in RHEL UKIs.
In UKIs, this can be achieved effortlessly by creating a`fips=1` UKI addon and provide it in the ESP (/boot/efi/Linux/<UKI>.extra.d/ or /boot/efi/loader/addons). In this way, when the addon is present, the kernel cmdline will contain `fips=1`, when removed there won't be any `fips` option enabled.
Requires systemd v254 at least (ukify needs to be able to build an addon, kernel.spec should be able to create addons)
Acceptance Criteria
In order to verify if this works:
- Create the UKI addon
- Add it to /boot/efi/loader/addons and reboot. Check that /proc/cmdline contains `fips=1`
- Remove it from /boot/efi/loader/addons and reboot. Check that /proc/cmdline does not contain `fips=1`
- is related to
-
RHEL-36450 [Azure][FIPS][UKI] 'fips-mode-setup' tool doesn't work well with UKI
- In Progress