Bug 1212416
| Summary: | Client RPMs in EL5 channel have a broken/unrecognized signature: BAD | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Peter Bieringer <pb> |
| Component: | Clients | Assignee: | Grant Gainey <ggainey> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.3 | CC: | ggainey |
| 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: | 2015-04-21 18:21:07 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1484117 | ||
|
Description
Peter Bieringer
2015-04-16 11:26:15 UTC
Well...ugh. The -2016 (v4, RSA) signing key is not compatible with RHEL5 GPG. We will fix this by creating a new (RHEL5-compatible) key and re-signing the RHEL5-client-repos. Will update the BZ when that's done. [NB: replace "-2016" in c#1 with "-2014"] As a (very temporary) workaround, you can specify yum --nogpgcheck or set gpgcheck=0 in /etc/yum.repos.d/spacewalk-client.repo. Using rpm, specify --nosignature. Try this in your .rpmmacros:
%__gpg_sign_cmd %{__gpg} \
gpg --batch --no-verbose --no-armor --passphrase-fd 3 --force-v3-sigs --no-secmem-warning \
-u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename}
Thanks - we ended up generating a new RPM-GPG-KEY, the 2048/RSA of 2014 was (part of) the problem. (In addition, I ended up with .rpmmacros almost exactly the same as you mention before seeing your comment; clearly we were on the same track :) ) SPACEWALK-2.3 RHEL5 client-pieces have been signed with the new RHEL5-compatible key, and should work for you now. You will want to install the new version of the spacewalk-client-repo.rpm: # rpm -Uvh http://yum.spacewalkproject.org/2.3-client/RHEL/5/x86_64/spacewalk-client-repo-2.3-3.el5.noarch.rpm Or, you may import the new public-key directly: # wget http://yum.spacewalkproject.org/RPM-GPG-KEY-spacewalk-2015 # rpm --import RPM-GPG-KEY-spacewalk-2015 Thanks for the catch! This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug. |