Bug 525748
| Summary: | Taskomatic changes for channel preferred checksum type. | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Network | Reporter: | Sebastian Skracic <sskracic> |
| Component: | RHN/Other | Assignee: | Sebastian Skracic <sskracic> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Network Quality Assurance <rhn-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | RHN Stable | CC: | acarter, dhughes, rhn-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | US160 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-03-18 12:49:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 519193, 523965 | ||
|
Description
Sebastian Skracic
2009-09-25 14:49:16 UTC
Initial support, which covers RPM checksum selection based on the channel preference is submitted in 19e9648b9ce1f01af95b04c3abaddd3c43eb4337. TODO: the metadata files themselves still use hardcoded sha1 checksum method to compute their checksums. The channel preference should apply here as well. The rest of functionality implemented in 33f92350022b76a9ed4fc90e9be798cab8f21909. On DEV. fails_qa So for testing dhughes and I were attempting to downloading dmidecode from rhel-i386-server-5. We: 1) cleared the repomd 2) regenerated it 3) attempted to yum install dmidecode This failed. Upon investigation it appears that: 1) The newly generated repomd files have the sha-256 sum for the file 2) The database appears to have sha1 set as the default for that channel 3) RHEL <= 5 yum clients will never understand anything other than md5, so either way it should have failed. It looks to me that there's two problems here: 1) It should be set to generate md5 2) sha256 should not be generated if the type is set to sha1 With the recent work to distinguish between metadata and RPM preferred checksum methods, new attribute has been added to Channel domain object: preferredRpmChecksum. This property is now being consulted to generate the per-package checksums in repo metadata files. e75e8272ff5719c2001059778f8e93d9a14c2998 is now available on webdev. Verified in dev on 10/13/09 |