On Tue, Oct 9, 2012 at 4:14 PM, Ljubomir Ljubojevic <span dir="ltr">&lt;<a href="mailto:office@plnet.rs" target="_blank">office@plnet.rs</a>&gt;</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>
&gt; On Tue, Oct 9, 2012 at 2:23 PM, Ljubomir Ljubojevic&lt;<a href="mailto:office@plnet.rs">office@plnet.rs</a>&gt;  wrote:<br>
&gt;&gt; On 09/17/2012 02:58 PM, Les Mikesell wrote:<br>
&gt;&gt;&gt; On Sun, Sep 16, 2012 at 1:05 PM, Ned Slider&lt;<a href="mailto:ned@unixmail.co.uk">ned@unixmail.co.uk</a>&gt;   wrote:<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Besides, your approach simply won&#39;t work. If you were to install an<br>
&gt;&gt;&gt;&gt; edited (patched) repo file set to enabled=0, the first time a user runs<br>
&gt;&gt;&gt;&gt; &#39;yum update&#39; and the repo file gets updated from the repo the user will<br>
&gt;&gt;&gt;&gt; be back at the repo&#39;s default settings regardless of how the distro may<br>
&gt;&gt;&gt;&gt; or may not have initially patched the repo file.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hmmm, that seems like a bug.  Should rpm packages clobber user configurations?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Sole purpose of the update for repository packages is to replace *.repo<br>
&gt;&gt; file with the one with correct link, but rather then to edit file they<br>
&gt;&gt; replace it, thus defaulting any change you made.<br>
&gt;<br>
&gt; Which doesn&#39;t really answer the question of whether locally modified<br>
&gt; config files belong to the administrator or the RPM author....  This<br>
&gt; is something important enough that it really deserves to have the<br>
&gt; &#39;enabled&#39; and similar options abstracted to something under<br>
&gt; /etc/sysconfig - unless someone still holds onto the hope that one day<br>
&gt; all repositories will be coordinated and not conflict with each other.<br>
&gt;    Meanwhile, I&#39;d say such a change should come in as a .rpmnew file so<br>
&gt; you can reconcile the local edits manually (and maybe at least some of<br>
&gt; them would).<br>
&gt;<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&#39;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&#39;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>