Re: Using older confi files after yum update

Jake Adams <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
seth vidal wrote:
> Is it yum's config file? OR just a config file of some kind from some
> pkg?
> 
> If it is the former - then I'm surprised.
> 
> If it is the latter then are you sure it is marked as a config file in
> the rpm specfile for the owning pkg?
> 
> If not then you can mark the file %config(noreplace) which should keep
> the file from being changed.
> 
> -sv
> 

Thanks for the reply.  I wasn't very clear at first- I've modified a
file that is provided by a package (/etc/X11/xinit/Xsession, provided by
xorg-x11-xinit for fedora 13 for the curious) but when I update that
package it copies over a new version of the file and removes my edits.
I'm not looking to build my own RPM (which is my understanding of where
the %config(noreplace) comes into play) but just somehow mark this file
so it isn't changed.  I can blacklist the whole package, but I'm looking
for something a little more granular.  I understand if it's something
yum isn't capable of, I just haven't been able to find anything that
says one way or the other.

Jake Adams
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.