Add `fips: true`
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 974
- Forks
- 296
- Avg merge
- 6d 14h
- Merged PRs (30d)
- 9
Description
We're working on OCP CoreOS Layering and the way FIPS works today is special cased in just RHCOS:
https://github.com/openshift/os/tree/master/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fips
It's a custom dracut module that's parsing Ignition, and then parsing a file inside that.
Similar to kernel arguments I think having Ignition support this directly would be much cleaner - it'd get us closer to a world where for OCP the state of the system is described via Ignition exclusively, and not Ignition plus some extra stuff.
How fips is implemented is distribution-specific, but it basically boils down to running a binary in the initramfs and rebooting at least for Fedora derivatives. I think other distributions could ensure they can do the same, even if not the same binary name.
Contributor guide
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 by reading the linked kernel-arguments work and the RHCOS dracut module at overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fips. Clarify how an Ignition fips: true field should map to distribution-specific initramfs behavior, then define and test the configuration and boot outcomes for supported distributions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100