[Spacewalk-list] Using mrepo with Spacewalk 1.8

Paul Robert Marino prmarino1 at gmail.com
Tue Jan 22 19:37:29 UTC 2013


well if your username ans password for RHN are in mrepos configuration
you shouldn't need gensystemid
you only need gensystemid  if you want to register an non RHEL host to
RHN and authenticate by the system id if you use an username and
password mrepo shouldn't need the host to be registered.


On Tue, Jan 22, 2013 at 2:04 PM, Paul Brunck
<Paul.Brunck at healthlanguage.com> wrote:
> Thank you but I am still confused.  I have entered the rhn information in mrepo.conf which does not make any difference if the cert is not present.  The knowledge base link looks like a guide on how to create the cert to distribute to the systems which are registered to spacewalk once it is installed.  I think these files already exist at http://servername/pub.  I have tried installing that package but it does not help.  What I am trying to do is use mrepo on the spacewalk server to create a channel that contains consistently updated rhel packages, so maybe the problem is that I am going about this the wrong way?
>
> On Jan 22, 2013, at 11:47 AM, Paul Robert Marino <prmarino1 at gmail.com>
>  wrote:
>
>> you can set a user name and password instead
>>
>> ## Your username and password for RHN channel subscriptions
>> #rhnlogin = username:password
>> rhnlogin =
>>
>> see https://github.com/dagwieers/mrepo/blob/master/config/mrepo-example.conf
>> for full details
>>
>> Also the SSL cert is included in an RPM in RHEL
>> rhn-org-trusted-ssl-cert-<Version>.noarch.rpm
>> see https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Network_Satellite/5.3/html/Client_Configuration_Guide/s2-certificate-tool-CA-create.html
>> for details
>>
>>
>> On Tue, Jan 22, 2013 at 1:21 PM, Paul Brunck
>> <Paul.Brunck at healthlanguage.com> wrote:
>>> I'm attempting to install Spacewalk 1.8 with mrepo and create a mirror of RHEL 5&6 packages to use for frequently spun up development VMs. There are several guides that indicate I should use mrepo with gensystemid to register individual repositories as systems on RHN and then use the entitlements granted to my rhel systems. However gensystemid fails because /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT is not present. It's not clear to me where I get this cert, whether it is included with an official rhel install, or if it is pulled in after using rhn_register, or if this the "key" per se that you purchase with the Satellite product that allows you to mirror?  Thank you in advance for any help.
>>>
>>> Paul Brunck
>>> Health Language, Inc.
>>> System Administrator
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list




More information about the Spacewalk-list mailing list