Bug 1096056
| Summary: | yum-security doesn't work with pulp installation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | fuerob | ||||
| Component: | rpm-support | Assignee: | Barnaby Court <bcourt> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 2.3 | CC: | mhrivnak, pthomas | ||||
| Target Milestone: | --- | Keywords: | Triaged | ||||
| Target Release: | 2.4.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-09 06:56:22 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
The publish operation in pulp 2.4 gzips the updateinfo file. This can be verified by doing "yum update --security" on rhel5 against a pulp-published repository that contains errata. verified that yum update--security works on rhel5 [root@rhel5-pulp ~]# rpm -qa |grep pulp-consumer pulp-consumer-client-2.4.0-0.23.beta.el5 [root@rhel5-pulp ~]# This has been fixed in Pulp 2.4.0-1. |
Created attachment 893870 [details] Make yum check if updateinfo is gzip compressed before accessing it. Description of problem: yum update --security isn't working on RHEL5 when using a pulp host (with katello 1.4). Version-Release number of selected component (if applicable): Red Hat Enterprise Linux Server release 5.8 (Tikanga) Name : yum Arch : noarch Version : 3.2.22 Release : 40.el5 Name : pulp-server Arch : noarch Version : 2.3.1 Release : 1.el6 The reason is that yum's update_md.py expects updateinfo to be gzipped. My workaround was to make yum detect if the file is gzipped prior to opening it, see attached patch.