Red Hat Bugzilla – Bug 891548
mediacheck can't be skipped, drops to emergency shell
Last modified: 2013-05-29 21:32:42 EDT
Description of problem:
This is a fork of bug 874486. Mediacheck progress is now displayed, but hitting Esc drops user to an emergency shell, rather then skipping the check and continuing to load the installer.
Please read bug 874486 comment 45 and onward. See attachment 667096 [details].
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. hit Esc during mediacheck
installer continues to load
Does fixing this require changing the exit values of checkisomd5? The man page currently says
Program returns exit status 0 if the checksum is correct, or 1 if the
checksum is incorrect, non-existent, or check was aborted.
so it can't distinguish between FAIL and UNKNOWN since both return 1. I think it would be good in the long run to have 3 return values, but this would affect existing code and I don't know how much work that involves.
Filed bug 907600 against isomd5sum, requesting an additional return value for UNKNOWN (so the installer can continue on either PASS or UNKNOWN, and drop to an emergency shell on FAIL).
This appears fixed in 19 Alpha TC1. Hitting Esc lets the install continue.
In 19 Beta TC4, this is not fixed. Pressing Esc just toggles plymouth's progress bar - hit Esc, you see the progress bar, hit Esc again, you see the media check percentage.
You can't completely break it any more, but neither can you skip the check.
commit c9a6cebabf for bug 958924 fixes this on my smoke-test boot.iso
Yup, it's been working since then.