Product Name
CIS Build Kit
Product Version
RHEL 7 & 8
Date
Problem
After applying a Build Kit to a RHEL image in Azure, the system now boots in emergency mode
Solution
Remove the below script and execute the hardening script, otherwise server will go to emergency mode.
Remove /root/CISHardening/CIS-LBK/RHEL8/functions/recommendations/nix_vfat_filesystem_disabled_rec.sh
In Azure environment, there is a filesystem /boot/efi
which uses vfat
format by default. The above script is creating the kernel module, which is blocking to mount the mandatory /boot/efi
filesystem which leads emergency.
Server Emergency mode https://access.redhat.com/solutions/3215551
Please note that you will need to make adjustments when using Build Kits in the cloud. https://cisecurity.atlassian.net/l/cp/QrE9gPDu
Add Comment