Feature #4056
closedsupport sha1 checksums on custom repos
Description
Yum repo creation on rhel 6 (centos 6, etc) defaults to sha256. rhel 5 and below do not support sha256, only sha1. The createrepo command has a flag to specify which hash to use:
```
[root@dlaxktlo301 foreman]# rpm -qa| grep createrepo
createrepo-0.9.9-21.2.pulp.el6.noarch
man createrepo:
-s --checksum
Choose the checksum type used in repomd.xml and for packages in the metadata. The default is now "sha256" (if
python has hashlib). The older default was "sha", which is actually "sha1", however explicitly using "sha1"
doesn’t work on older (3.0.x) versions of yum, you need to specify "sha".
```
Having that option as a dropdown or some such while creating repositories would solve this problem.
Created: dazole on September 12, 2013 22:33 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/2937
Comment 1
verified this myself, will need to discuss with the pulp team the proper course of action
Created: jlsherrill on September 18, 2013 16:03 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/comments/24676741
Updated by Eric Helms over 10 years ago
- Category set to Subscriptions
- Triaged set to No
Updated by Eric Helms over 10 years ago
- Priority changed from Normal to High
- Target version set to 45
- Triaged changed from No to Yes
Updated by Justin Sherrill about 10 years ago
- Status changed from New to Assigned
- Assignee set to Justin Sherrill
- Target version set to 56
- Translation missing: en.field_release set to 14
- Difficulty set to medium
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/4681 added
- Pull request deleted (
)
Updated by Justin Sherrill about 10 years ago
- Tracker changed from Bug to Feature
- Subject changed from Katello consumers on rhel 5 cannot use repo's from a Katello server on rhel 6 to support sha1 checksums on custom repos
Updated by Justin Sherrill about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|ed840853bc332a2fac1c2f8f93b6831a7e22dcf2.