SCIENTIFIC-LINUX-DEVEL Archives

November 2007

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Fri, 16 Nov 2007 08:33:24 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
Urs Beyerle wrote:
> Hi,
> 
> just something I noticed again when I updated from SL50 to SL51. In the 
> yum-conf RPM /etc/yum.conf is defined to be replaced in case of an 
> update, whereas /etc/yum.repos.d/* are considered as "noreplace".
> 
> %config %{_sysconfdir}/yum.conf
> %config(noreplace) %{_sysconfdir}/yum.repos.d/*
> 
> Hence my personal setting in /etc/yum.conf were overwritten by the 
> update. I don't remember, if this was already discussed before. But I 
> think an update should not replace /etc/yum.conf. /etc/yum.conf should 
> be defined as noreplace.
> 
> What's the reason of replacing /etc/yum.conf by the update?
> 

I believe it was historical.  It was that way before, I never thought of it.
I have no problems with marking it as "noreplace" and actually I believe you 
are right, and it should be that way.

I'll make the change right now before I forget, and it will be in the beta.

Troy

-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/LCSI/CSI DSS Group
__________________________________________________

ATOM RSS1 RSS2