Bug: enable fips-preview on raspberry pi fails - pro
should not allow enabling any fips variant on a raspberry pi
#3336
Labels
pro
should not allow enabling any fips variant on a raspberry pi
#3336
Description of the bug
When attempting to enable the
fips-preview
service on a raspberry pi 4, viasudo pro enable fips-preview
, it fails.Expected behavior
The fips installation to succeed and correctly configure the fips kernel to be used on next boot with fips mode enabled.
Current behavior
sudo pro enable fips-preview
fails with apt errorTo Reproduce
sudo pro enable fips-preview
This will fail with error message
System information:
Additional context
The apt install fails because
/boot/grub
does not exist.If I run
mkdir /boot/grub
and thenpro enable fips-preview
it completes but it does not correctly setup the kernel to be booted. The reason being is it has placed the kernel at/boot/
instead of/boot/firmware
.If I do the following from the boot directory it setups booting the kernel
After doing the following and rebooting it correctly uses the kernel.
The next issue is fips mode is not enabled.
To try and remedy this I add fips=1 to
/boot/firmware/cmdline.txt
After doing this last step the system does not boot which I suspect fips=0 isn't recognized as something valid when getting passed through the boot sequence https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#boot-sequence.
The text was updated successfully, but these errors were encountered: