[Yum] Using older confi files after yum update
seth vidal
skvidal at fedoraproject.org
Tue Nov 9 21:16:10 UTC 2010
On Tue, 2010-11-09 at 13:53 -0700, Jake Adams wrote:
> Greetings!
>
> I have been searching the web and the mailing lists for an answer to
> this, but have been unable to find anything about it.
>
> I have a config file that I have modified for my environment. However,
> when I do a yum update it overwrites this file. I can restore the old
> file from another machine and everything works fine. Can I tell yum to
> not replace that one file during a yum update?
>
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
More information about the Yum
mailing list