Bug 891548 - mediacheck can't be skipped, drops to emergency shell
Summary: mediacheck can't be skipped, drops to emergency shell
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 19
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: https://fedoraproject.org/wiki/Common...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-03 08:54 UTC by Kamil Páral
Modified: 2013-05-30 01:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-30 01:32:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 874486 0 unspecified CLOSED progress indicator for mediacheck isn't displayed, so users may think the installer is hung 2021-02-22 00:41:40 UTC

Internal Links: 874486

Description Kamil Páral 2013-01-03 08:54:22 UTC
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):
anaconda-18.37.8-1.fc18

How reproducible:
always

Steps to Reproduce:
1. hit Esc during mediacheck
  
Actual results:
emergency shell

Expected results:
installer continues to load

Comment 1 Andre Robatino 2013-01-03 09:39:56 UTC
Does fixing this require changing the exit values of checkisomd5? The man page currently says

EXIT STATUS
       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.

Comment 2 Andre Robatino 2013-02-04 20:00:49 UTC
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).

Comment 3 Andre Robatino 2013-03-23 21:09:36 UTC
This appears fixed in 19 Alpha TC1. Hitting Esc lets the install continue.

Comment 4 Adam Williamson 2013-05-12 23:34:09 UTC
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.

Comment 5 Brian Lane 2013-05-14 16:33:35 UTC
commit c9a6cebabf for bug 958924 fixes this on my smoke-test boot.iso

Comment 6 Adam Williamson 2013-05-30 01:32:42 UTC
Yup, it's been working since then.


Note You need to log in before you can comment on or make changes to this bug.