Project

General

Profile

Actions

Feature #10363

closed

Support for hosting Red Had Enterprise Linux 4.x repositories

Added by Matthew Ceroni almost 9 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

I have a need to host YUM repositories for Red Hat 4.x boxes (I know, they are ancient but I can't get rid of them just yet). Currently the Yum metadata checksum options are SHA1 and SHA2. As RH4 is so old, the yum python scripts are coded to look for SHA (SHA2 didn't exist at that time) in the repomd.xml file. When it sees SHA1 as the checksum it errors and fails checksum. This is corrected (and verified as working) but editing the misc.py and repos.py file to add an OR condition when checking for sumtype

elif sumtype 'sha'

TO

elif sumtype 'sha' OR sumtype = 'sha1'

It would be easier to just have another drop down option that allows you to set it to SHA so that the repo meta data file gets generated with a checksum value of SHA.

Actions #1

Updated by Matthew Ceroni almost 9 years ago

In addition it appears that selecting SHA1 only generates SHA1 checksum for the repomd.xml file. Not for the package listings themselves. They default back to SHA256. I believe this is an issue with createrepo and specifying the -s option. If you use --checksum=SHA|SHA1|SHA256 that ensures that the correct checksum is used at all levels.

I have verified this on my system by manually running createrepo on the Repositories created through Katello.

Actions #2

Updated by Eric Helms almost 9 years ago

  • Triaged changed from No to Yes

If Pulp supports SHA then we can add it as an option, if not you'll have to file a bug with them to get supported added.

Actions #3

Updated by Eric Helms over 8 years ago

  • translation missing: en.field_release set to 114
Actions #4

Updated by John Mitsch over 4 years ago

  • Status changed from New to Rejected
  • Target version deleted (Katello Backlog)

Thanks for reporting this issue. This issue was created over 4 years ago and hasn't seen an update in 1 year. We are closing this in an effort to keep a realistic backlog. Please open up a new issue that includes a link to this issue if you feel this still needs to be addressed. We can then triage the new issue and reassess.

Actions

Also available in: Atom PDF