Bug 972995 - RFE: do a size check, and if the image is too small, return a specific error message in addition to FAIL
Summary: RFE: do a size check, and if the image is too small, return a specific error ...
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: isomd5sum (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-11 03:21 UTC by Andre Robatino
Modified: 2013-06-11 03:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Andre Robatino 2013-06-11 03:21:50 UTC
Description of problem:
See https://bugzilla.redhat.com/show_bug.cgi?id=972561#c9

Many if not most cases of bad downloads are due to simple truncation. Browsers suck at downloading, and if the server has a hiccup, can just silently truncate the download. Command-line tools like wget are much better but many people don't use them. If checkisomd5 checked the size of the actual image compared to the ISO header size, it could give a specific error message if the image was too small. (Note that Fedora ISOs are hybrid and are bigger than the ISO header size, however it's my understanding that the mediacheck ignores anything past that size anyway.)

If the install type allows checking the ISO size quickly without reading the entire image (for example a hard drive install), this check could be done by anaconda without involving the mediacheck, so even someone who didn't do the mediacheck would be warned. I don't know if that's practical, and if it is it would be a separate RFE.

Version-Release number of selected component (if applicable):

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