Skip to content

Commit 607dcab

Browse files
committed
Revert "40rhcos-fips: include fips.so in initrd"
This reverts commit f21c511. This was fixed upstream in in RHEL so this patch is no longer needed. 9.4 - https://issues.redhat.com/browse/RHEL-104864 9.2 - https://issues.redhat.com/browse/RHEL-104863
1 parent 96f1c70 commit 607dcab

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fips/module-setup.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,6 @@ install() {
2828
inst_simple "$moddir/rhcos-fips-dracut-boot-fix.service" \
2929
"$systemdsystemunitdir/rhcos-fips-dracut-boot-fix.service"
3030

31-
# Golang 1.22 requires the fips shared object in the initrd to determine
32-
# whether the system is in FIPS mode and ignition will panic if its missing
33-
local src="/usr/lib64/ossl-modules/fips.so"
34-
local dest="/usr/lib64/ossl-modules/fips.so"
35-
if [ -f "$src" ]; then
36-
inst_simple "$src" "$dest"
37-
else
38-
echo "Warning: $src not found!"
39-
fi
40-
4131
# Unconditionally include /etc/system-fips in the initrd. This has no
4232
# practical effect if fips=1 isn't also enabled. OTOH, it is a *requirement*
4333
# for a true FIPS boot: https://bugzilla.redhat.com/show_bug.cgi?id=1778940

0 commit comments

Comments
 (0)