Update `40rhcos-fips` dracut module for RHEL 10 logic
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 135
- Forks
- 131
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 6
Description
See https://fedoraproject.org/wiki/Changes/RemoveFipsModeSetup. The idea there is that the fips=1 karg becomes the source of truth. This is something that should work in image-mode RHEL/CentOS Stream already and we just inherit from that. On the MCO side, long-term on-cluster layering should do the equivalent of https://gitlab.com/fedora/bootc/examples/-/blob/main/fips/Containerfile?ref_type=heads to enable it at layering time. Short-term, at the very least, we should be able to get rid of this bit since calling fips-mode-setup should no longer be necessary. See also conversation in https://github.com/coreos/ignition/issues/1323.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fips/rhcos-fips.sh, especially lines 67-113, and read the referenced Fedora FIPS change. Confirm how the existing image-mode RHEL/CentOS Stream behavior uses the fips=1 kernel argument, then remove the obsolete fips-mode-setup path and verify the dracut module still handles FIPS booting correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- operating-systems
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100