On RHEL 6.7, need oddjob version only available on RHEL 7

Latest response

Hi,

I have some servers running RHEL 6.7 that need to run oddjob-0.31.5-4.el7 or later to pick up a bug fix that prevents it from creating home directories.

When I run yum, it says this version is not found.

There's a document, however, that says this version is available for RHEL 7 (https://rhn.redhat.com/errata/RHBA-2015-0446.html#Red Hat Enterprise Linux Server (v. 7)).

Is there any way to use yum to download this version of oddjob and its dependencies? I've tried enabling all the repos I have and it didn't help.

Thanks for any info you can provide.

Chuck

Responses

Hi Chuck,

Unfortunately, installation of packages from different major versions isn't supported by Red Hat (see Can I install packages from different versions of RHEL?). Is there any way you could switch to RHEL 7?

Thanks, Robert, I wasn't aware of that.

I'll look into the feasibility of upgrading to RHEL 7.

Chuck

Out of curiousity, have you tried rebuilding the SRPM for the EL7 version as an EL6 target? I found alot of stuff will work quite well as long as all your build libraries are present (not an issue for nearly everything I have rebuild from Fedora for EL7).

Hi Andrew,

I haven't tried rebuilding for the RHEL 6 target, but that's a good idea. When I looked at the bug, it had a lot of dependencies listed which kind of discouraged me from doing it right away.

Upgrading to RHEL 7 doesn't look like a good option at this point, though, so compiling looks like a good fallback.

Chuck

Andrew,

When I tried to install the source rpm, yum responded that it wasn't available:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
yum install oddjob-0.31.5-4.el7.src.rpm
Loaded plugins: product-id, security, subscription-manager
Setting up Install Process
No package oddjob-0.31.5-4.el7.src.rpm available.
Error: Nothing to do
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Do you know what I need to do to make it available in 6.7? All of my repos in /etc refer to RHEL 6.

Thanks,

Chuck

Do you have a valid support subscription?

If so, raise a ticket with Red Hat asking them to backport the relevent bug fix into 6.x.

Due to the age of RHEL 6 they may not be keen to do it, but it's worth asking (other backported fixes show up in the changelog for oddjob).

Alternatively, do what Andrew has described, rebuilding the RHEL7 SRPM on RHEL6 is very likely to build cleanly given the minor version differences between the EL6 and EL7 packages.

Do you have the BZ# of the bug?

Hi PixelD,

Yes, I have subscriptions for my servers. You're right, 6 is pretty old, but it's a revival of a pretty old, extensive project, and would involve a lot of heavy lifting to get it running on 7.

We have to go into production in a matter of a week or two, so I don't think there's time for RH to port it, although that would be the best approach if there was time.

I do have the BZ numbers--turns out there were two bugs when I just looked again: 1098616 and 1123860.

Thanks for the info, I didn't know that was an option. I'll keep it in my pocket for the future.

Chuck

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.