Bug 840526

Summary: Booting in FIPS mode fails if initramfs build without crypto dracut module
Product: [Fedora] Fedora Reporter: Milan Broz <mbroz>
Component: dracutAssignee: dracut-maint
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dracut-maint, jonathan, pvrabec
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dracut-023-2.fc18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-23 13:36:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 717789    
Attachments:
Description Flags
Proposed patch none

Description Milan Broz 2012-07-16 14:27:00 UTC
Created attachment 598464 [details]
Proposed patch

Description of problem:
If you build initramfs without crypto module, some crypto modules are not copied and boot with fips=1 fails.

Attached patch adds missing GCM/Ghash modules to fips list so self tests can pass even without dracut crypto module installed.

Version-Release number of selected component (if applicable):
dracut-fips-020-84.git20120711.fc18.x86_64
dracut-fips-aesni-020-84.git20120711.fc18.x86_64

How reproducible:
in fips mode, try dracut -o crypt

Comment 1 Milan Broz 2012-08-23 13:36:02 UTC
This was merged some time ago, at least with dracut-023-2.fc18 it works, closing.