[CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?

Mon Nov 29 13:08:06 UTC 2010
Jim Perrin <jperrin at gmail.com>

On Mon, Nov 29, 2010 at 7:52 AM, giggzounet <giggzounet at gmail.com> wrote:

> %config(noreplace) %{_sysconfdir}/ofed/openib.conf

This is what a config file looks like in a spec file. See how it has
%config at the beginning of the line, with the option of noreplace.
This file is a config and will not be replaced as far as rpm is concerned.

> %{_sysconfdir}/sysconfig/network-scripts/ifup-ib

This file has no such markings, and is not considered a config file by
rpm. it will be replaced on update.



-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell