We need to include putting the /usr/share/rhn/RPM-GPG-KEY file on the filesystem in the install. In the past, this was provided by up2date, but on RHEL5, there is yum instead of up2date. On a RHEL4 satellite: rpm -qf /usr/share/rhn/RPM-GPG-KEY up2date-4.4.5-1 up2date-4.4.69-25
James Bowes enlightened me that RPM-GPG-KEY is now supplied by the redhat-release package, but in a different place. Therefore, during install, we will check /usr/share/rhn/RPM-GPG-KEY for the file. If it does not exist, default to the new location /etc/pki/rpm-gpg/RPM-GPG-KEY. It would be better to do: if (RHEL 4) use old place else if (RHEL 5) use new place
Reassigning a bunch of my bugs to mmccune so they aren't forgotten.
on-qa
verified.. /usr/share/rhn [root@fjs-0-10 rhn]# cat /etc/pki/rpm-gpg/RPM-GPG-KEY- cat: /etc/pki/rpm-gpg/RPM-GPG-KEY-: No such file or directory [root@fjs-0-10 rhn]# cat /etc/pki/rpm-gpg/RPM-GPG-KEY- RPM-GPG-KEY-fedora RPM-GPG-KEY-redhat-beta RPM-GPG-KEY-fedora-test RPM-GPG-KEY-redhat-former RPM-GPG-KEY-redhat-auxiliary RPM-GPG-KEY-redhat-release [root@fjs-0-10 rhn]# cat /etc/pki/rpm-gpg/RPM-GPG-KEY- [root@fjs-0-10 rhn]#
Release pending [root@sun-x4200-01 ~]# cat /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat- RPM-GPG-KEY-redhat-auxiliary RPM-GPG-KEY-redhat-release RPM-GPG-KEY-redhat-beta RPM-GPG-KEY-redhat-rhx RPM-GPG-KEY-redhat-former
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html