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 13:41, Nico Kadel-Garcia a écrit :
> On Mon, Nov 29, 2010 at 7:38 AM, giggzounet <giggzounet@xxxxxxxxx> wrote:
>> Le 29/11/2010 12:44, Gabriel Tabares a écrit :
>>>> 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
>>
>> ok ths for your answer!
>>
>> where in the rpm package can I find if the file is a configuration file
>> or not ?
> 
> You need the .spec file from the SRPM, or you could install it and test it.

ok I will take a look in the SRPM.

thx

_______________________________________________
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