[openfabrics-ewg] Aborting install removes OFED sources

Vladimir Sokolovsky vlad at mellanox.co.il
Tue May 9 06:18:25 PDT 2006


Jeff Squyres (jsquyres) wrote:
>> -----Original Message-----
>> From: Vladimir Sokolovsky [mailto:vlad at mellanox.co.il] 
>> Sent: Tuesday, May 09, 2006 8:51 AM
>> To: Jeff Squyres (jsquyres)
>> Cc: openfabrics-ewg at openib.org
>> Subject: Re: [openfabrics-ewg] Aborting install removes OFED sources
>>
>> OFED can remove installation prefix directory except /usr, /bin, 
>> /usr/local, /usr/bin, /opt /root, /.
>> I will update this mechanism...
>>     
>
> I think we need to be more careful than that.  OFED should remove only
> *exactly* what it installed.  This is how real installers/uninstallers
> work -- they keep a list of files that were installed or created and
> then remove them.  
>   
Sure
> "rm -rf <some_dir>" should absolutely not be an option.  If we start
> building in "remove all of this except A, B, C, ..." you're going to run
> into some whacky case where a user has some directory or file that
> you're not expecting, and therefore won't be in the "except A, B, C,
> ..." list -- and OFED will remove it.
>
> Why is "rm -rf" being used, anyway?  Shouldn't "rpm -e ..." be
> sufficient?
>
>   
There are OFED docs directory and several files under installation 
prefix directory which are not a part of OFED RPMs.
I will add them to the list of the installed files in order to remove 
them on uninstall.

Regards,
Vladimir



More information about the ewg mailing list