giggzounet
2010-Nov-29 08:12 UTC
[CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?
Hi, On our cluster with CentOS 5.5, I have a little problem with a script for infiniband (this problem: http://web.archiveorange.com/archive/v/NUQmuN84gd3D31Fdl8PU). So the fix a very easy. But what will yum/RPM do during the next update ? Will it overwrite the file ? Will it write on display that the file was modified by an user (as under debian) ? Thx a lot, Best regards, Guillaume
Gabriel Tabares
2010-Nov-29 11:44 UTC
[CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?
> a very easy. But what will yum/RPM do during the next update ? Will it > overwrite the file ? Will it write on display that the file was modified > by an user (as under debian) ? >As far as I can tell, if the file is marked as a configuration file in the RPM, it will be left alone and the new configuration file will be renamed to file.rpmnew. If the file is not marked as a configuration file, it will be overwritten. Regards, Gabriel