Bug 1147941

Summary: CD consistency check can't be canceled
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: dracutAssignee: dracut-maint-list
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dracut-maint-list, jonathan, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dracut-038-30.git20140903.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-08 19:03:29 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:
Attachments:
Description Flags
esc during medium check
none
untested patch to fix the issue none

Description Kamil Páral 2014-09-30 11:20:26 UTC
Description of problem:
If run some Fedora image with medium consistency check (an option in the boot menu), it starts computing and says "Press [Esc] to abort check.". However, if I do that, I receive:

dracut: FATAL: CD check failed!
dracut: Refusing to continue

See screenshot. You have to do a hard reset, nothing else works.

Version-Release number of selected component (if applicable):
dracut-038-15.git20140724.fc21.x86_64
Fedora 21 Workstation Live x86_64

How reproducible:
always

Steps to Reproduce:
1. boot the media with consistency check enabled
2. cancel the check with Esc

Actual results:
the boot gets stuck

Expected results:
the boot continues

Comment 1 Kamil Páral 2014-09-30 11:20:49 UTC
Created attachment 942669 [details]
esc during medium check

Comment 2 Zbigniew Jędrzejewski-Szmek 2014-09-30 11:58:15 UTC
Created attachment 942674 [details]
untested patch to fix the issue

Comment 3 Fedora Update System 2014-09-30 14:24:43 UTC
dracut-038-30.git20140903.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/dracut-038-30.git20140903.fc21

Comment 4 Kamil Páral 2014-09-30 15:02:30 UTC
This might be tricky to test, nightly composes are created just from fedora+updates repos. It will probably involve creating a custom LiveCD locally.

Comment 5 Fedora Update System 2014-10-01 04:16:21 UTC
Package dracut-038-30.git20140903.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing dracut-038-30.git20140903.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-11866/dracut-038-30.git20140903.fc21
then log in and leave karma (feedback).

Comment 6 Kamil Páral 2014-10-07 07:52:27 UTC
I have built a custom Live image and everything works - the consistency check passes, it can be canceled (and boot continues), and it stops the boot when I corrupt the image. Thanks for fixing this.

Comment 7 Fedora Update System 2014-10-08 19:03:29 UTC
dracut-038-30.git20140903.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.