Bug 218523 - Include RPM-GPG-KEY on sat install.
Summary: Include RPM-GPG-KEY on sat install.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 500
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike McCune
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: rhn-sat-on-rhel5
TreeView+ depends on / blocked
 
Reported: 2006-12-05 20:36 UTC by Ken Ganong
Modified: 2009-09-10 18:20 UTC (History)
2 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 18:20:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ken Ganong 2006-12-05 20:36:20 UTC
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

Comment 1 Ken Ganong 2006-12-13 16:46:06 UTC
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

Comment 2 Ken Ganong 2006-12-15 20:48:03 UTC
Reassigning a bunch of my bugs to mmccune so they aren't forgotten.

Comment 3 Mike McCune 2007-03-23 20:37:24 UTC
on-qa

Comment 4 wes hayutin 2007-03-30 18:08:47 UTC
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]# 


Comment 5 Preethi Thomas 2009-08-14 12:13:05 UTC
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

Comment 6 Brandon Perkins 2009-09-10 18:20:52 UTC
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


Note You need to log in before you can comment on or make changes to this bug.