How to prevent Red Hat major version updates.
Hi.
I am using RHEL 6.1 Server for ppc64. I am also using a Red Hat Satellite server for server managment.
I have specific software that will not work on RHEL 6.2.
Is there anyway to set my systems where they cannot be updated to 6.2 inadvertently?
Let's say a system admin inavertently tried to run the update from 6.1 to 6.2. Is there a way to refuse or deny this update?
Minor kernel updates to 6.1 is okay, but I don't want major updates (i.e. 6.2, 6.3) and other software packages I still want to be able to get.
thanks
Responses
You can create a custom channel on your satellite that has only the allowed packages for your hosts, and then subscribe those hosts to that channel. That way if someone runs 'yum update', they will only get the packages that you have deemed acceptable.
Regards,
John Ruemker, RHCA
Software Maintenance Engineer
Red Hat, Inc.
Groups Moderator
I've added the following line to /etc/yum.conf on my servers to keep them from downloading these specific packages, and thus keep them from upgrading.
exclude=kernel* glibc* nscd redhat-release-*
If you are using Certificate-based Red Hat Subscription Management (not Classic Subscription Management platform which RHN Satellite uses), you can set the Preferred Service Level for a system with the newest subscription-manager:
https://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/mng-service-levels.html
(for an overview of Red Hat Subscription Management, see https://access.redhat.com/knowledge/articles/143253)
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
