CentOS systems not getting subscribed to patches for CentOS site

Hey Guys,

Hope everyone is doing great and are safe, currently we are facing issues on few of the CentOS systems. We are not able to see the CentOS systems not getting subscribed to the Patches for CentOS external site.

Have anyone come across this kind of issue? If yes please do share us the resolution.

Thanks in Advance,

Regards,

KK

1 Like

Some information would be helpful. Can you share how you are subscribing?

Hi @MattMangan After enabling the site, patches for CentOS and when the site is successfully gathered, in the computer subscription we are targeting the CentOS system with their OS.

One thing which we have observed is that when we are compare the /etc/system-release and the /etc/redhat-release of the systems they are totally different.

[root@VM-5 r2_unix]# cat /etc/system-release
Red Hat Enterprise Linux release 7.0 (Maipo)
[root@VM-5 r2_unix]# cat /etc/redhat-release
Red Hat Enterprise Linux release 7.0 (Maipo)

It should be Red Hat Enterprise Linux release 7.7 not 7.0

does this this affects the computer subscription for the site ?

1 Like

Those look like Red Hat systems, not CentOS. You can’t apply CentOS patches to Ref Hat machines.

Instead, you would need to enable and subscribe the “Patches for Red Hat Enterprise Linux” sites, configure the RHSMPlugin, (and, yes, pay for Red Hat support to get patch entitlements).

1 Like

Hi @JasonWalker We have completed the server configuration and we are successfully able to deploy patches for RHEL systems and it is CentOS system. and we know we cant deploy RHEL patches to CentOS systems or CentOS patches to RHEL systems. As you know the CentOS comes into the RHEL OS family there are few things which are similar.

We are getting the issue for only 2 CentOS systems, rest of the CentOS systems are getting patched via BigFix.

Ok, good to know.

If that system you cited earlier, with a /etc/redhat-release and /etc/system-release indicating Red Hat is actually a CentOS system, then you should repair those files to indicate the correct versions. Those are used in BigFix’s detection of the operating system, and if they are wrong you will not get accurate site subscriptions or fixlet applicability results.

1 Like

Hey @JasonWalker thanks for the help, do you know the process of repairing those files.

Thanks in Advance.

I’m afraid not, I’m not even sure how they would get into that state. Are you sure those systems are really CentOS and not Red Hat?

Maybe you could take the correct files from another machine, but if those files have been tampered there’s no telling what else was modified. This is why configuration management and change control are important.

If they were mine, I’d take a careful inventory of what functions these two machines are performing, and build replacement systems to migrateand replace them.

2 Likes

The redhat-release file usually contains CentOS information in it if it is CentOS

1 Like

Hi all the issue resolved, by changing and modifying the redhat release file

1 Like