terrywang / vagrantboxes

Handcrafted Arch Linux Vagrant base box with :heart:
250 stars 29 forks source link

Oracle Linux 7.0 x86_64 missing libselinux-ruby #6

Closed terrywang closed 9 years ago

terrywang commented 10 years ago

Oracle Linux 7.0 x86_64 Vagrant base box is missing the package libselinux-ruby, which is required by puppet.

NOTE: This affects the Veewee definition for Oracle Linux 7.0 as well.

Looks like Oracle Linux 7.0 base repo (Public YUM) does NOT have libselinux-ruby for some reason. RHEL 7 Install DVD doesn't have it either but somehow CentOS 7 does.

This issue will be kept open as a place holder until Oracle provides the package via Public YUM.

Temporary workaround is to borrow the package from CentOS 7 simply by using the command below and then do yum install puppet.

rpm -ivh http://mirror.centos.org/centos/7/os/x86_64/Packages/libselinux-ruby-2.2.2-6.el7.x86_64.rpm
stoilis commented 10 years ago

Terry: Have you opened a bug against OEL 7.0 for this? If yes, let me know the bug number/url. If not, I'll open one myself. Either way, I will track this internally and hopefully speed it up?

terrywang commented 10 years ago

@stoilis RHEL 7 Install DVD doesn't have libselinux-ruby either, so not sure if this is a bug.

It is not the only package, if you run yum-builddep kernel, you'll see missing asciidoc. The same works fine on CentOS 7.0.

There are much more issues when trying to test kpatch.

I will put things together and contact the man who is in charge of Oracle Linux.

terrywang commented 9 years ago

As per Avi Miller from Oracle, the libselinux-ruby package is available in [ol7_optional_latest] channel via public-yum.oracle.com.

NOTE: Looks like CentOS 7 decided to combine the upstream latest and optional channels. However, Oracle Linux 7 has gone with the same approach as upstream (RHEL 7), what ships on the ISO is in the latest and the rest of the supporting packages (including most of the -devel stuff) are in optional.

Enable the repo by using

yum-config-manager --enable ol7_optional_latest

Or install puppet directly by using

yum --enablerepo ol7_optional_latest install puppet

Either will do. Closing the issue.