Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140853 - RTx86 bad digests file
Summary: RTx86 bad digests file
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: InstallCD (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
: 143155 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-17 16:31 UTC by Brant Gurganus
Modified: 2006-08-08 05:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
corrected digests file (digests.patch,483 bytes, patch)
2006-07-17 16:32 UTC, Brant Gurganus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brant Gurganus 2006-07-17 16:31:28 UTC
DIGESTS files are not in formats suitable for use with check functionality of md5sum and sha1sum. Current output checking install-x86-minimal-2006.1.iso with install-x86-minimal-2006.1.iso.DIGESTS:

gurganbl@gurganbl ~/Desktop $ md5sum -c install-x86-minimal-2006.1.iso.DIGESTS
md5sum: install-x86-minimal-2006.1.iso.DIGESTS: no properly formatted MD5 checksum lines found

gurganbl@gurganbl ~/Desktop $ sha1sum -c install-x86-minimal-2006.1.iso.DIGESTS 
sha1sum: install-x86-minimal-2006.1.iso.DIGESTS: no properly formatted SHA1 checksum lines found

I was able to correct it by adding an additional space between the hash and the file name.

Versions:
md5sum (GNU coreutils) 5.97
sha1sum (GNU coreutils) 5.97
Comment 1 Brant Gurganus 2006-07-17 16:32:55 UTC
Created attachment 92035 [details, diff]
corrected digests file

Probably not applicable to final release since the media will probably change, but here is a patch that works with my version of coreutils and current ISO files.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-07-18 06:25:28 UTC
Thanks for the report, but we won't fix this.  The reason is we don't use coreutils, but instead use shash in catalyst.  The reason for this is we support more than MD5/SHA1 in catalyst, so the output is the same as expected by shash.

I'll be sure that this is mentioned in the Handbook(s), but the .DIGESTS files are definitely the way they are intended to be.  Unfortunately, we haven't found a way to make it work with both shash *and* coreutils, since, as you can guess, somebody thought it would be a great idea to make the two sets of output/checks different.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-08-08 05:09:36 UTC
*** Bug 143155 has been marked as a duplicate of this bug. ***