On Tue, Oct 9, 2012 at 4:14 PM, Ljubomir Ljubojevic <span dir="ltr"><<a href="mailto:office@plnet.rs" target="_blank">office@plnet.rs</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 10/09/2012 09:37 PM, Les Mikesell wrote:<br>
> On Tue, Oct 9, 2012 at 2:23 PM, Ljubomir Ljubojevic<<a href="mailto:office@plnet.rs">office@plnet.rs</a>>  wrote:<br>
>> On 09/17/2012 02:58 PM, Les Mikesell wrote:<br>
>>> On Sun, Sep 16, 2012 at 1:05 PM, Ned Slider<<a href="mailto:ned@unixmail.co.uk">ned@unixmail.co.uk</a>>   wrote:<br>
>>>>><br>
>>><br>
>>>> Besides, your approach simply won't work. If you were to install an<br>
>>>> edited (patched) repo file set to enabled=0, the first time a user runs<br>
>>>> 'yum update' and the repo file gets updated from the repo the user will<br>
>>>> be back at the repo's default settings regardless of how the distro may<br>
>>>> or may not have initially patched the repo file.<br>
>>><br>
>>> Hmmm, that seems like a bug.  Should rpm packages clobber user configurations?<br>
>>><br>
>><br>
>> Sole purpose of the update for repository packages is to replace *.repo<br>
>> file with the one with correct link, but rather then to edit file they<br>
>> replace it, thus defaulting any change you made.<br>
><br>
> Which doesn't really answer the question of whether locally modified<br>
> config files belong to the administrator or the RPM author....  This<br>
> is something important enough that it really deserves to have the<br>
> 'enabled' and similar options abstracted to something under<br>
> /etc/sysconfig - unless someone still holds onto the hope that one day<br>
> all repositories will be coordinated and not conflict with each other.<br>
>    Meanwhile, I'd say such a change should come in as a .rpmnew file so<br>
> you can reconcile the local edits manually (and maybe at least some of<br>
> them would).<br>
><br>
<br>
</div>I do not disagree with you on this, but I have not made yum config the<br>
way it is now, and I can not tell you if it does create .rpmnew or not.<br>
But Enabled=0 is incorporated into .repo file.<br>
<br>
I personally would like to either have separate files for each repo<br>
entry for links and options (like Enabled), or to have options in<br>
separate database (txt file or not) that would allow much more flexible<br>
combinations and changes.<br>
<div class="im HOEnZb"><br></div></blockquote><div> </div><div>As a person running hundreds of CentOS systems in a production environment, I'd like to note a few things:<br><br>1-
 No matter what package it is, and no matter from what repo is is 
installed, configuration files belong to the administrator, not the 
packager, so an rpm should NEVER replace a local config file. (this includes yum)<br><br>2- All
 we really need is the ability to install epel and elrepo simply, 
without having to hunt them down. I've done this so many times, I now 
include epel-release and elrepo-release (all disabled)  in all my cobbler installs 
automatically. This is the way I feel we are best served. I use other repos too, but truly, epel is essential to most people, so epel-release, at least, should be available in the CentOS repos. <br><br>-- <br></div></div>

<div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><font color="#cc3300"><font face="Tahoma"><font><b>Mike SCHMIDT<br></b></font></font></font><font color="#808080"><font face="Tahoma"><font><b>CTO <br>

Intello Technologies Inc.<br></b></font></font></font></span><span style="font-family:Tahoma;border-collapse:collapse;color:rgb(128,128,128)"><b><font color="#888888"><a href="mailto:mike.schmidt@intello.com" style="color:rgb(42,93,176)" target="_blank">mike.schmidt@intello.com</a></font></b></span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><font color="#808080"><font face="Tahoma"><font><b><font color="#888888">Canada: 1-888-404-6261 x320<br>USA: 1-888-404-6268 x320<br>
Mobile: 514-409-6898<br>
<a href="http://www.intello.com/" style="color:rgb(42,93,176)" target="_blank">www.intello.com</a></font></b></font></font></font></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><font color="#808080"><font face="Tahoma"><font><b><br>

</b></font></font></font></span></div><br>