[CentOS] Re: Faking RHEL with CentOS

Wed Oct 1 15:34:58 UTC 2008
Scott Silva <ssilva at sgvwater.com>

on 10-1-2008 6:53 AM Sorin at Gmail spake the following:
> Hi all,
> 
> I'm looking to test out a solution with CentOS instead of our venerable
> RHEL3-servers. Some of the software we use and need, requires for it to run on
> RHEL. Figuring that CentOS is binary compatible with RHEL this should work
> anyway. I also found out using Google that many programs look in
> /etc/redhat-release file to check that the right OS is there.
> 
> After checking the contents on a CentOS machine I have available, as well as
> one running RHEL3 and 4, my guess would be that adding the "correct" text in
> the redhat-release file on CentOS would enable picky software requiring RHEL
> to run in CentOS instead.
> 
>>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?
> 
> Ideas and comments are welcome! TIA.
No amount of faking will make software for RHEL3 or 4 install on CentOS 5.
You can only do it on equal releases IE... RHEL 3 to CentOS 3 etc.

-- 
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20081001/0a990dfe/attachment-0004.sig>