Bug 635597 - channel with checksum sha1 have packages checksum sha256
Summary: channel with checksum sha1 have packages checksum sha256
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 540
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Shannon Hughes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: sat540-triage
TreeView+ depends on / blocked
 
Reported: 2010-09-20 09:58 UTC by Jan Hutař
Modified: 2010-09-20 13:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-20 13:55:26 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2010-09-20 09:58:02 UTC
Description of problem:
I have channel with checksum set to "sha1" and in /var/cache/rhn/repodata/jhutar-a-sha1/repomd.xml I see '<checksum type="sha">' which seems correct. But in /var/cache/rhn/repodata/jhutar-a-sha1/primary.xml.gz there is:

  [...]
  <name>SSS-hpc-1</name>
  <arch>x86_64</arch>
  <version ver="1" rel="1" epoch="0"/>
  <checksum type="sha256" pkgid="YES">d79ed384c5862e1233fa5cb4a402675c178dd5a6e04d01df30db066b9d053d0f</checksum>'
  [...]

Is it correct/expected?


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


How reproducible:
1 of 1


Steps to Reproduce:
1. Create channel with SHA1 checksum
2. Push some packages into it
3. Investigate checksum types used in /var/cache/rhn/repodata/<channel>/repomd.xml and /var/cache/rhn/repodata/<channel>/primary.xml.gz


Actual results:
sha in repomod.xml and sha256 in primary.xml.gz


Expected results:
This is more a question than a bug, so expected is whatever devel says :)


Additional info:
This might be expected, but asking to be 100% sure.

Comment 1 Clifford Perry 2010-09-20 13:55:26 UTC
<mim> cliff-bug-triage: I'd close it completely - not a bug. Repo and rpm checksum are two independent things.


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