Skip to content

WIP Patch bootc FIPS dracut boot handling - #105

Open
rabi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
rabi:fips
Open

WIP Patch bootc FIPS dracut boot handling#105
rabi wants to merge 1 commit into
openstack-k8s-operators:mainfrom
rabi:fips

Conversation

@rabi

@rabi rabi commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

bootc non-LUKS single-root deployments can fail FIPS boot because dracut's 01fips module assumes /boot can be mounted read-only as a separate device. On bootc single-root layouts that mount can fail before the kernel HMAC check runs.

Patch the image at build time so dracut falls back to bind-mounting the existing /boot tree when the default mount path fails. This is an image-side workaround for the current bootc single-root FIPS boot path; the underlying fix should eventually land upstream in dracut, bootc, or their interaction.

@openshift-ci
openshift-ci Bot requested review from dprince and jpodivin July 27, 2026 09:42
@openshift-ci

openshift-ci Bot commented Jul 27, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rabi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/50825eba98c847309d29fbde5fba41b1

eib-content-provider-build-images-cs9 FAILURE in 22m 20s
eib-content-provider-build-images-cs10 FAILURE in 27m 56s
⚠️ eib-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9
⚠️ eib-crc-podified-edpm-baremetal-cs10 SKIPPED Skipped due to failed job eib-content-provider-build-images-cs10
⚠️ eib-crc-podified-edpm-baremetal-bootc SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9
⚠️ eib-crc-podified-edpm-baremetal-bootc-cs10 SKIPPED Skipped due to failed job eib-content-provider-build-images-cs10
⚠️ eib-podified-multinode-ironic-deployment SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9

@rabi rabi changed the title Patch bootc FIPS dracut boot handling WIP Patch bootc FIPS dracut boot handling Jul 27, 2026
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/5859f3ed4ab648ceb434cf430d4db248

eib-content-provider-build-images-cs9 FAILURE in 20m 32s
eib-content-provider-build-images-cs10 FAILURE in 22m 05s
⚠️ eib-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9
⚠️ eib-crc-podified-edpm-baremetal-cs10 SKIPPED Skipped due to failed job eib-content-provider-build-images-cs10
⚠️ eib-crc-podified-edpm-baremetal-bootc SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9
⚠️ eib-crc-podified-edpm-baremetal-bootc-cs10 SKIPPED Skipped due to failed job eib-content-provider-build-images-cs10
⚠️ eib-podified-multinode-ironic-deployment SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9

bootc non-LUKS single-root deployments can fail FIPS boot because
dracut's `01fips` module assumes `/boot` can be mounted read-only
as a separate device. On bootc single-root layouts that mount can
fail before the kernel HMAC check runs.

Patch the image at build time so dracut falls back to bind-mounting
the existing /boot tree when the default mount path fails. This is an
image-side workaround for the current bootc single-root FIPS boot path;
the underlying fix should eventually land upstream in dracut, bootc, or
their interaction.

Signed-off-by: rabi <ramishra@redhat.com>
@jpodivin
jpodivin removed their request for review July 27, 2026 12:38
@centosinfra-prod-github-app

Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://gateway-cloud-softwarefactory.apps.ocp.cloud.ci.centos.org/zuul/t/rdoproject.org/buildset/31ecca263f5a48969c392bdc06a2874a

eib-content-provider-build-images-cs9 FAILURE in 18m 45s
✔️ eib-content-provider-build-images-cs10 SUCCESS in 2h 52m 28s
⚠️ eib-crc-podified-edpm-baremetal SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9
✔️ eib-crc-podified-edpm-baremetal-cs10 SUCCESS in 1h 50m 16s
⚠️ eib-crc-podified-edpm-baremetal-bootc SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9
eib-crc-podified-edpm-baremetal-bootc-cs10 NODE_FAILURE Node(set) request 099-0000154746 failed in 0s
⚠️ eib-podified-multinode-ironic-deployment SKIPPED Skipped due to failed job eib-content-provider-build-images-cs9

@rabi

rabi commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant