[Spacewalk-list] Hardware Vendor Repos

Frank Mikkelsen Blohmé frank.mikkelsen.blohme at axis.com
Wed Dec 12 14:44:26 UTC 2012


To my knowledge, the GPG key configured for a software channel doesn’t get imported by the clients. However I haven’t tested this thoroughly.
I download and place the GPG keys locally on the Spacewalk server, available over HTTP, distributed and imported by each client when they are kickstarted.

Anyone who knows if the clients can auto-import GPG keys based on the software channel configuration? If not, what are the configurable GPG software channel options good for?

Best regards

Frank Mikkelsen Blohmé
Axis Communications AB – IT Group
Sweden, Lund

From: spacewalk-list-bounces at redhat.com [mailto:spacewalk-list-bounces at redhat.com] On Behalf Of Ciro Iriarte
Sent: den 12 december 2012 14:18
To: spacewalk-list at redhat.com
Subject: Re: [Spacewalk-list] Hardware Vendor Repos

2012/12/12 Ciro Iriarte <cyruspy at gmail.com<mailto:cyruspy at gmail.com>>
2012/12/12 Frank Mikkelsen Blohmé <frank.mikkelsen.blohme at axis.com<mailto:frank.mikkelsen.blohme at axis.com>>

In Spacewalk you can only tie one RPM GPG key to a software channel, so syncing in RPM packages from various sources signed with different RPM GPG keys isn’t recommended. This can be circumvented by resigning all RPM packages with your own RPM GPG key before syncing them to Spacewalk. But then you will have to download the RPM packages somewhere before resigning them.

This is why a 1:1 relationship is most convenient, one repo (one RPM GPG key) to one Spacewalk software channel.

It’s easy to subscribe a host to a new channel in the GUI, can also be done on command line.



So if you have to add a new repo with RPM packages in the future:

1.       Create a new software channel in Spacewalk, a child channel to the base channel to which the host is subscribed.

2.       Configure the software channel using the repo’s RPM GPG key

3.       Sync the RPMs in the repo into the software channel.

4.       Subscribe the host to the new software channel

5.       Install the RPMs on the host



I hope this help you.



Best regards



Frank Mikkelsen Blohmé

Axis Communications AB – IT Group

Sweden, Lund





Hi!, isn't it easier to subscribe a server to one channel and add in the future the needed repositories?, that way you don't have to touch that node in the future (hmm, maybe rhel nodes would need GPG Keys for package from a new repository :s)



I'm trying to understand the channel/repo relationship to cover the most common use cases...



Regards,




--
Ciro Iriarte
http://cyruspy.wordpress.com
--

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list at redhat.com<mailto:Spacewalk-list at redhat.com>
https://www.redhat.com/mailman/listinfo/spacewalk-list

Well, I was happy to split the repositories in different channels to solve the GPG key issue, but the management page gives me "invalid URL", apparently only local files are used, which defeats the purpose of adding the GPG URL for me...

Ref:
https://www.redhat.com/archives/spacewalk-list/2012-January/msg00202.html


Regards,

--
Ciro Iriarte
http://cyruspy.wordpress.com
--

Well, the form didn't like FTP URLs (my bad?), but accepted a HTTP one. The clients wont import the key either way according to the mentioned thread, correct?.

Regards,

--
Ciro Iriarte
http://cyruspy.wordpress.com
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20121212/a9458673/attachment.htm>


More information about the Spacewalk-list mailing list