Bug 175059
Summary: | GPG keys missing ARCH Tag in RpmDB | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Karanbir Singh <kbsingh> |
Component: | rpm | Assignee: | Panu Matilainen <pmatilai> |
Status: | CLOSED WONTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0 | ||
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: | 2008-09-24 10:16:27 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: |
Description
Karanbir Singh
2005-12-06 02:03:27 UTC
GPG pubkeys don't come from packages, a header is used merely as a container, so its arguable whether they should be ,marked "norach" or not. There certainly is no arch associated with GPG pubkeys. The real problem is more subtle, returning '(none)' in-band rather than out-of-band, i.e. returning a condition, not a value, as part of a value stream. So the better fix is to filter out '.(none)', perhaps substituting ".pubkey" explicitly, instead. Here's one example that I use daily %_query_all_fmt %%{name}-%%{version}-%%{release}.%%|SOURCERPM?{%%{arch}.rpm}:{%%|ARCH? {src.rpm}:{pubkey}|}| Note that non-existence of an arch tag is being used to substitute "pubkey" for an RPMTAG_ARCH substitution. WONTFIX ("noarch" is not the right fix) imho Upstream development is heading towards getting the gpg-pubkeys out of the rpmdb which will avoid this issue for good... but not going to change the behavior for RHEL 4. |