Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1053655

Summary: dracut allows booting in fips mode when vmlinuz has incorrect hmac
Product: Red Hat Enterprise Linux 7 Reporter: Pavel Holica <pholica>
Component: dracutAssignee: dracut-maint
Status: CLOSED CURRENTRELEASE QA Contact: Release Test Team <release-test-team-automation>
Severity: high Docs Contact:
Priority: high    
Version: 7.0CC: harald, lkardos
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 11:34:23 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: 782468    
Attachments:
Description Flags
console none

Description Pavel Holica 2014-01-15 15:15:47 UTC
Created attachment 850558 [details]
console

Description of problem:
I've installed system in fips mode and after installed system booted, I've removed first byte in hmac file for vmlinuz in /boot. After reboot, dracut drops to dracut shell stating "Warning: dracut: Refusing to continue". I've pressed ctrl-d, dracut again drops to shell, pressed ctrl-d and then boot continued into system.

Version-Release number of selected component (if applicable):
dracut-033-68.el7
RHEL-7.0-20140110.0 x86_64 Client

How reproducible:
always

Steps to Reproduce:
1. Install system with fips enabled
2. In installed system, remove first byte from file /boot/.vmlinuz-3.10.0-67.el7.x86_64.hmac
3. reboot
4. once dropped in dracut shell, press ctrl-d
5. once dropped in dracut shell, press ctrl-d

Actual results:
System boots (although some strange issues happen, e.g. /boot is not mounted)

Expected results:
One shouldn't be dropped to dracut shell and system doesn't boot.

Additional info:

Comment 2 Ľuboš Kardoš 2014-02-03 09:01:37 UTC
Verified on dracut-033-85 (RHEL-7.0-20140127.0).

Comment 3 Ludek Smid 2014-06-13 11:34:23 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.