Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 972995 - RFE: do a size check, and if the image is too small, return a specific error message in addition to FAIL
RFE: do a size check, and if the image is too small, return a specific error ...
Status: NEW
Product: Fedora
Classification: Fedora
Component: isomd5sum (Show other bugs)
rawhide
All Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
: FutureFeature
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-10 23:21 EDT by Andre Robatino
Modified: 2013-06-10 23:23 EDT (History)
2 users (show)

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


Attachments (Terms of Use)

  None (edit)
Description Andre Robatino 2013-06-10 23:21:50 EDT
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):
isomd5sum-1.0.10-1.fc19

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