[scl.org] Installing SCL packages on RHEL

Noah Kantrowitz noah at coderanger.net
Fri Sep 16 02:11:04 UTC 2016


Okay, to get the disclaimer out of the way, I understand that SCLo/CentOS packages are not supported by RedHat. I'm trying to get my Chef SCL code to work on RHEL again (CentOS works great via centos-release-scl). The official (from what I can tell) solution is `subscription-manager repos --enable rhel-server-rhscl-{6,7}-rpms`. The problem is this fails on most cloud-y RHEL installs as the EC2/Rackspace/whatever images don't come with a subscription setup and thus even though they (I think, the cloud licenses are weird and bespoke) could use the SCL subscription, the system won't allow it. EC2 has a (custom?) solution for this with a local RHUI server in each region that can be used to set up the SCL repository. This server is not reachable from outside EC2 though, so doesn't help on other cloud platforms. The next thing I thought to try is to use the SCLo/CentOS repositories directly for cloud users as they probably don't care too much about support or they would have set up a subscription. I can't figure out a stable way to do that though. From https://github.com/sclorg/centos-release-scl, I can do `yum-config-manager --add-repo=https://copr.fedoraproject.org/coprs/rhscl/centos-release-scl/repo/epel-7/rhscl-centos-release-scl-epel-7.repo` but this only activates the sclo/ repo, not rh/ so I can't install the recompiles of the RHSCL packages (i.e. most of them). I could set the http://mirror.centos.org/centos/6/sclo/x86_64/rh/ repository manually, but I would need a copy of the GPG to import. I've filed https://bugs.centos.org/view.php?id=11468 to request the GPG key be made available via centos.org but I would imagine any changes there will take some time.

So with that wall of text, what's the best way to get SCL packages on RedHat for _all_ RHEL users?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://listman.redhat.com/archives/sclorg/attachments/20160915/ca8d8b85/attachment.sig>


More information about the SCLorg mailing list