Re: Faking RHEL with CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, Oct 1, 2008 at 11:06 AM, John <jses27@xxxxxxxxx> wrote:
> >From CentOS /etc/redhat-release:
> CentOS release 5.2 (Final)
>
> >From RHEL3 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 3 (Taroon Update 9)
>
> >From RHEL4 /etc/redhat-release:
> Red Hat Enterprise Linux WS release 4 (Nahant Update 7)
>
> Has anybody maybe actually done this already and can tell if it'd work?
>
> What other places may a software look into to check the computer runs the
> correct OS?
>
> JohnStanley Writes:
>
> Yes that will work. Replace the appropriate string. Also do cat /etc/issue.
> One more and it is called programatically "rpm --whatprovides"
>

If there are 10000 files it might look at 10000 different places including
device names.... kernel names, shell features, kernel modules and more.
i.e all the things that 'configure' might know about and more.

/etc/redhat-release is the most common.   N.B. You may need to restore
the CentOS words often to permit CentOS updates to do the right thing.

If /etc/redhat-release is not the answer you may have to look harder at the
failing process with strace  or even SELinux tricks to see what it does
look at.

If it is Oracle, Given the price of Oracle -- just purchase the RH product.
It is common that the expensive packages are the most restrictive and putative.




-- 
        NiftyCluster
        T o m   M i t c h e l l
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux