Bug 1364581

Summary: RPM GPG key arch symlinks missing for f25
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: fedora-reposAssignee: Dennis Gilmore <dennis>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, dgilmore, kevin, mboddu, pbrobinson
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-08 12:14:42 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:

Description Adam Williamson 2016-08-05 20:04:10 UTC
fedora-repos-25-0.4 has the actual RPM GPG keys for F25:

[adamw@adam ansible-infra (master %)]$ ls -l /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25*
-rw-r--r--. 1 root root 1670 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-primary
-rw-r--r--. 1 root root 3132 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-secondary

but it's missing the per-arch symlinks that exist for other releases:

[adamw@adam ansible-infra (master %)]$ ls -l /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24*
lrwxrwxrwx. 1 root root   31 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-aarch64 -> RPM-GPG-KEY-fedora-24-secondary
lrwxrwxrwx. 1 root root   29 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-armhfp -> RPM-GPG-KEY-fedora-24-primary
lrwxrwxrwx. 1 root root   29 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-i386 -> RPM-GPG-KEY-fedora-24-primary
lrwxrwxrwx. 1 root root   31 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-ppc64 -> RPM-GPG-KEY-fedora-24-secondary
lrwxrwxrwx. 1 root root   31 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-ppc64le -> RPM-GPG-KEY-fedora-24-secondary
-rw-r--r--. 1 root root 1657 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-primary
lrwxrwxrwx. 1 root root   31 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-s390 -> RPM-GPG-KEY-fedora-24-secondary
lrwxrwxrwx. 1 root root   31 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-s390x -> RPM-GPG-KEY-fedora-24-secondary
-rw-r--r--. 1 root root 3128 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-secondary
lrwxrwxrwx. 1 root root   29 Jul 26 12:49 /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-24-x86_64 -> RPM-GPG-KEY-fedora-24-primary

At least one consequence of this is that the PackageKit 'search for missing command' plugin doesn't work right:

[adamw@adam ansible-infra (master %)]$ foobar
bash: foobar: command not found...
Failed to search for file: Curl error (37): Couldn't read a file:// file for file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-x86_64 [Couldn't open file /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-25-x86_64]
[adamw@adam ansible-infra (master %)]$ 

there are probably others.

Comment 1 Dennis Gilmore 2016-08-08 12:14:25 UTC
fixed in fedora-repos-25-0.5  the archmap file was missing fedora-25 arches