RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 633270 - yum cannot handle channel with sha384 checksum
Summary: yum cannot handle channel with sha384 checksum
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.0
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: James Antill
QA Contact: Karel Srot
URL:
Whiteboard:
Depends On:
Blocks: 580448
TreeView+ depends on / blocked
 
Reported: 2010-09-13 13:07 UTC by Petr Sklenar
Modified: 2014-01-21 06:19 UTC (History)
4 users (show)

Fixed In Version: yum-3.2.29-1.el6
Doc Type: Bug Fix
Doc Text:
When yum tried to retrieve repository data from a channel with SHA-384 checksum, yum terminated. With this update, support for SHA-384 checksums has been added and yum can access such channels properly.
Clone Of:
Environment:
Last Closed: 2011-05-19 13:33:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0602 0 normal SHIPPED_LIVE yum bug fix and enhancement update 2011-05-19 09:37:29 UTC

Description Petr Sklenar 2010-09-13 13:07:56 UTC
Description of problem:
yum cannot handle channel with sha384 checksum

Version-Release number of selected component (if applicable):
yum-3.2.27-14.el6.noarch
yum-rhn-plugin-0.9.1-5.el6.noarch

How reproducible:
always

Steps to Reproduce:
1. create channel with sha384 checksum via satellite
2. connect client
3. client: yum list available
  
Actual results:
[]# yum clean all
Loaded plugins: rhnplugin
Cleaning up Everything
[]# yum repolist
Loaded plugins: rhnplugin
child-channel-sha1                                                             
                      |  871 B     00:00     
child-channel-sha1/primary                                                     
                      |  624 B     00:00     
child-channel-sha1                                                             
                                         1/1
child-channel-sha256                                                           
                      | 1.0 kB     00:00     
child-channel-sha256/primary                                                   
                      |  627 B     00:00     
child-channel-sha256                                                           
                                         1/1
child-channel-sha384                                                           
                      | 1.2 kB     00:00     
child-channel-sha384/primary                                                   
                      |  695 B     00:00     
child-channel-sha384/primary                                                   
                      |  695 B     00:00     
child-channel-sha384/primary                                                   
                      |  695 B     00:00     
child-channel-sha384/primary                                                   
                      |  695 B     00:00     
repo id                                                  repo name             
                                       status
child-channel-sha1                                       Name
child-channel-sha1                                       1
child-channel-sha256                                     Name
child-channel-sha256                                     1
child-channel-sha384                                     Name
child-channel-sha384                                     0
child-channel-sha512                                     Name
child-channel-sha512                                     0
parent-channel                                           Name parent-channel   
                                       0
repolist: 2
[]# yum list available
Loaded plugins: rhnplugin
child-channel-sha384/primary                                                   
                      |  695 B     00:00     
child-channel-sha384/primary                                                   
                      |  695 B     00:00     
Error: failed to retrieve repodata/primary.xml.gz from child-channel-sha384
error was [Errno -3] Error performing checksum

Expected results:
sha384 works

Additional info:

Comment 1 RHEL Program Management 2010-09-13 13:18:00 UTC
Thank you for your bug report. This issue was evaluated for inclusion
in the current release of Red Hat Enterprise Linux. Unfortunately, we
are unable to address this request in the current release. Because we
are in the final stage of Red Hat Enterprise Linux 6 development, only
significant, release-blocking issues involving serious regressions and
data corruption can be considered.

If you believe this issue meets the release blocking criteria as
defined and communicated to you by your Red Hat Support representative,
please ask your representative to file this issue as a blocker for the
current release. Otherwise, ask that it be evaluated for inclusion in
the next minor release of Red Hat Enterprise Linux.

Comment 2 James Antill 2010-09-13 14:39:59 UTC
Indeed, we just used:

_available_checksums = set(['md5', 'sha1', 'sha256', 'sha512'])

...I can add sha384 to the available_checksums, assuming it's available in all places that sha512 is.

Comment 3 James Antill 2010-09-20 20:13:12 UTC
This is fixed upstream, so we'll get it in the rebase for 6.1.

Comment 8 Tomas Capek 2011-05-17 12:05:28 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When yum tried to retrieve repository data from a channel with SHA-384 checksum, yum terminated. With this update, support for SHA-384 checksums has been added and yum can access such channels properly.

Comment 9 errata-xmlrpc 2011-05-19 13:33:54 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0602.html


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