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

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



Le 29/11/2010 14:08, Jim Perrin a écrit :
> On Mon, Nov 29, 2010 at 7:52 AM, giggzounet <giggzounet@xxxxxxxxx> 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.
> 
> 
> 

great! thx for the help.

Bye bye

_______________________________________________
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