Hello,
I just installed RockyLinux 8.5, using the minimal install with no added modules.
I proceeded to execute
fips-mode-setup --enable
and rebooted.
Upon reboot, I executed
fips-mode-setup --check
FIPS mode is disabled.
As can be seen it is disabled.
Verified that dracut-fips was installed. After this I ran dracut -f and executed fips-mode-setup --enable.
Still same result.
FIPS mode seems to be working here. All you need is dracut-fips and crypto-policies-scripts
[root@idp ~]# fips-mode-setup --enable
Kernel initramdisks are being regenerated. This might take some time.
Setting system policy to FIPS
Note: System-wide crypto policies are applied on application start-up.
It is recommended to restart the system for the change of policies
to fully take place.
FIPS mode will be enabled.
Please reboot the system for the setting to take effect.
In my case, after performing the same tasks, it is still not working. Checked dracut-fips is installed, as is crypto-policies-scripts. Re-ran fips-mode-setup --enable, rebooted. This is the end result