Bug 808162 - Kickstart created on satellite v 5.3 does not have step to import rpm gpg key.
Summary: Kickstart created on satellite v 5.3 does not have step to import rpm gpg key.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Stephen Herr
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On: 708358 825374
Blocks: space18
TreeView+ depends on / blocked
 
Reported: 2012-03-29 17:51 UTC by Stephen Herr
Modified: 2012-11-01 16:19 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 708358
Environment:
Last Closed: 2012-11-01 16:19:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Stephen Herr 2012-03-29 17:51:37 UTC
+++ This bug was initially created as a clone of Bug #708358 +++

Description of problem:
Systems installed from the kickstart created on spacewalk do not have the rpm gpg key imported. 

How reproducible:
Always

Steps to Reproduce:
1. Login to spacewalk WebUI
2. Create kickstart profile for RHEL 5 
3. Check the kickstart file or install a system using this kickstart and check output of 

# rpm -qa | grep gpg 
  
Actual results:
Kickstart file does not contain command to import GPG key.

Expected results:
kickstart installation from spacewalk should import the RHEL rpm gpg key by default.

Comment 1 Stephen Herr 2012-03-29 17:59:28 UTC
Obviously there are many different operating systems that you can install from spacewalk, and each one has their own name for the RPM-GPG-KEY. The desire here is for RHEL kickstarts specifically to auto-import the GPG key, so that's what I've implemented. The code I added will import the RHEL RPM-GPG-KEY if it exists and do nothing if it does not, so this change shouldn't mess up other operating systems.

I briefly considered importing all GPG keys in /etc/pki/rpm-gpg/, but that's not very secure and there's really no guarantee that other operating systems will put there GPG keys there anyway.

Comment 2 Stephen Herr 2012-03-29 18:00:59 UTC
Committed to Spacewalk master: 091f0d2410436170f304d8bd25639f6dbbcac35d

Comment 4 Jan Pazdziora 2012-04-26 07:35:08 UTC
Marcelo provided fix to the fix in bug 816445, committed as
1e417be3c38abb1f9d5768b5124079a44402e2f1.

Comment 5 Jan Pazdziora 2012-10-30 19:24:02 UTC
Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/

Comment 6 Jan Pazdziora 2012-11-01 16:19:17 UTC
Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18


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