Skip to content

Commit a1b0d16

Browse files
Merge pull request #1857 from openshift-cherrypick-robot/cherry-pick-1855-to-release-4.15
[release-4.15] OCPBUGS-60898: Revert "40rhcos-fips: include fips.so in initrd"
2 parents 1509ca7 + e9fbc35 commit a1b0d16

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)