Bug 607673
Summary: | No GPG key installation offer for custom channels | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Garik Khachikyan <gkhachik> | ||||
Component: | Client | Assignee: | Michael Mráka <mmraka> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 530 | CC: | cperry, mkoci | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-09-23 21:59:05 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 462714 | ||||||
Attachments: |
|
Description
Garik Khachikyan
2010-06-24 14:39:59 UTC
Created attachment 426600 [details]
Custom channel with GPG info
rpm gpg keys have to be in /etc/pki/rpm-gpg/. # COMMENT Yeah, but I have defined the "GPG key URL" - it does not matter ? It does matter but yum-rhn-client blocks gpg keys for satellite/hosted managed repos other than from /etc/pki/rpm-gpg/. # COMMENT I did copied the server-side GPG key to the /rpm/etc/rpm-gpg/ but now it complains with: --- GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or directory: '/etc/pki/rpm-gpg/RPM-GKHACHIK-KEY' It's thrown due to yum install <my_package_name> in the client system. (In reply to comment #5) > # COMMENT > > I did copied the server-side GPG key to the /rpm/etc/rpm-gpg/ but now it > complains with: > --- > GPG key retrieval failed: [Errno 5] OSError: [Errno 2] No such file or > directory: '/etc/pki/rpm-gpg/RPM-GKHACHIK-KEY' > > It's thrown due to yum install <my_package_name> in the client system. Correction: on server-side the copy was made to: /etc/pki/rpm-gpg/ # COMMENT So, if I have the server's GPG public key installed in client side (rpm --import <RPM-GPG-KEY>), then the yum install of the package works. If there is no other possible way of retrieving, getting that key installed automatically (like for RPM-GPG-KEY-redhat-release) - then please close this "issue". Otherwise: would be nice to see it fixed in a way to get the key automatically installed by yum client and be continued with package installation. thanks. GPG key have to be installed on client in /etc/pki/rpm-gpg/ directory. It can't be downloaded from other machine (e.g. satellite) for security reasons. See bug 213031. Closing. |