Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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? Several unhelpful how-to's say it's included with CentOS and it is not, nor is it present in rhn-tools rpm.

share|improve this question
    
As this is marked CentOS, I'll assume you are running Centos, and don't have a contract with Red Hat. In that case, use the CentOS repos; or contact Red Hat for a support contract and access to their repos. –  vonbrand Jan 22 '13 at 20:03
    
I do have several systems registered with RedHat as well as CentOS and I have no problem using RedHat entitlements to pull the data. I installed on CentOS because I am using Spacewalk. The issue is I can't use mrepo to perform the registration. –  witchbutter Jan 23 '13 at 20:30

1 Answer 1

up vote 1 down vote accepted

It appears mrepo is broken and/or abandoned. I am forced to use createrepo as described here: createrepo with rhel satellite. This means I have to have 2 rhel servers, one for 5 x86_64 and one for 6 x86_64 to create my local repos. This consumes the same number of entitlements but requires an additional vm, but at least it will work with some longevity. In my case the 6 repository will be on the same server hosting spacewalk but I will have to manually set up http from the 5 repository so it can be used as well.

share|improve this answer
    
Please accept your own answer, so it is recorded. –  vonbrand Jan 26 '13 at 2:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.