<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On -28163-01--10 20:59, Jet Wilda wrote:
<blockquote
 cite="mid:%3C02EB42D2477149418837A74C416B819F158AC394@webmail.noam.fadv.com%3E"
 type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="WordSection1">
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Hi,<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">               
Please
excuse my ignorance but I still do not understand something.  I get how
to
populate the channels in the Spacewalk server.  What I do not
understand
is how you prevent packages from EPEL or RpmForge from overwriting base
OS
packages on the workstation that pulls its updates (yum update) from
the
Spacewalk server.  Does the fact that they are child channels
automatically make it so they won’t step on the top base channel?</span></p>
  </div>
</blockquote>
<br>
No, be a child channel don't prevent overwriting ...<br>
<br>
If you sync EPEL repository directly to Spacewalk server channel, you
put all rpms in spacewalk,  including those <span
 style="color: rgb(31, 73, 125);"></span>overwriting base OS packages.<br>
<br>
But, if you sync CentOS base, updates, extras and EPEL repositories
with <span
 style="font-size: 12pt; font-family: "Times New Roman","serif";">command
'reposync -l bla bla bla ' ('-l' flag = enable yum plugin
support) to local directories, you don't download Epel rpms that could </span>overwrite
base OS packages, because you are using priority plugin ...<br>
<br>
Now, if you sync every <span
 style="font-size: 12pt; font-family: "Times New Roman","serif";">local
directories </span>( those with CentOS base, updates, extras and EPEL
rpms downloaded above) to spacewalk channels, you don't upload <span
 style="font-size: 12pt; font-family: "Times New Roman","serif";">rpms
that could </span>overwrite base OS packages, because you have never
download them ...<br>
<br>
  Marco<br>
<br>
<br>
<blockquote
 cite="mid:%3C02EB42D2477149418837A74C416B819F158AC394@webmail.noam.fadv.com%3E"
 type="cite">
  <div class="WordSection1">
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">   Thanks
again for answering my questions and being so patient with me as I try
to understand.<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks,<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">~Jet<o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
  <div>
  <div
 style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
  <p class="MsoNormal"><b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>
[<a class="moz-txt-link-freetext" href="mailto:spacewalk-list-bounces@redhat.com">mailto:spacewalk-list-bounces@redhat.com</a>] <b>On Behalf Of </b>Marco
Giunta<br>
  <b>Sent:</b> Thursday, September 23, 2010 4:08 AM<o:p></o:p></span></p>
  </div>
  </div>
  <p class="MsoNormal"><o:p> </o:p></p>
  <p class="MsoNormal">On -28163-01--10 20:59, Jet Wilda wrote: <o:p></o:p></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Hi,</span><o:p></o:p></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">               
So
then your workstations have the spacewalk server and your local yum
repository setup to get RPMs from.  Am I understanding that correctly?</span><o:p></o:p></p>
  <p class="MsoNormal"><span
 style="font-size: 12pt; font-family: "Times New Roman","serif";"><br>
No, my workstations have only spacewalk repository by rhnplugin<br>
  <br>
  <br>
  <o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">  Or how
do the work
stations get something from say EPEL that isn’t setup via it’s
activation key channels?</span><o:p></o:p></p>
  <p class="MsoNormal"><span
 style="font-size: 12pt; font-family: "Times New Roman","serif";"><br>
In my spacewalk server I have a channel for every different repository:
Centos
base, updates, extras, Epel, Rpmforge, Karan , Spacewalk-client and
another
with my personal rpms. Every night, a cron script, sync all
repositories from
external source with 'reposync -l bla bla bla ' ('-l' flag = enable yum
plugin
support) to a local directories on my spacewalk server; in this way I
manage
'priority plugin'. Then, same script, sync my local mirrors with
spacewalk
channels (spacewalk-repo-sync bla bla bla)<br>
  <br>
My activation keys have as base channel, CentOS Base and as child
channels, all
other channels. So, with 'yum install bla bla' I can install a rpm
belong to
Epel, from my spacewalk server ...<br>
  <br>
  Marco<br>
  <br>
  <br>
  <br>
  <o:p></o:p></span></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">Thanks,</span><o:p></o:p></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);">~Jet</span><o:p></o:p></p>
  <p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> </span><o:p></o:p></p>
  <div>
  <div
 style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
  <p class="MsoNormal"><b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
 style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
  <a moz-do-not-send="true"
 href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>
[<a moz-do-not-send="true"
 href="mailto:spacewalk-list-bounces@redhat.com">mailto:spacewalk-list-bounces@redhat.com</a>]
  <b>On Behalf Of </b>Marco Giunta<br>
  <b>Sent:</b> Wednesday, September 22, 2010 2:41 AM</span><o:p></o:p></p>
  </div>
  </div>
  <p class="MsoNormal"> <o:p></o:p></p>
  <p class="MsoNormal">Hi,<br>
workstations are connected to spacewalk server repository by
'rhnplugin'; I
think you can enable or disable a channel modifing
'/etc/yum/pluginconf.d/rhnplugin.conf':<br>
  <br>
/etc/yum/pluginconf.d/rhnplugin.conf <br>
  <br>
[main]<br>
enabled = 1<br>
gpgcheck = 1<br>
  <br>
# You can specify options per channel, e.g.:<br>
#<br>
#[rhel-i386-server-5]<br>
#enabled = 1<br>
#<br>
#[some-unsigned-custom-channel]<br>
#gpgcheck = 0<br>
  <br>
But you cannot manage priority, AFAIK. I manage it in this way:<br>
  <br>
- first, I sync external repositories (centos update, extras, rpmforge,
epel
and karan) with 'reposync -l bla bla bla ' ('-l' flag = enable yum
plugin
support) to a local directories on my spacewalk server<br>
-then  I sync my local mirrors with spacewalk channels
(spacewalk-repo-sync bla bla bla)<br>
  <br>
  Marco<br>
  <br>
  <br>
  <br>
On -28163-01--10 20:59, Jet Wilda wrote: <o:p></o:p></p>
  <p class="MsoNormal">Hi,<o:p></o:p></p>
  <p class="MsoNormal"> <o:p></o:p></p>
  <p class="MsoNormal">               
I’m trying to understand the relationship of the files in
/etc/yum.repos.d/*.rep
once a system is configured to sync against the spacewalk server.  Are
those files not used at all once the system is using spacewalk?  If not
is
there a place that you can configure the repo settings like priority,
enabled,
etc?<o:p></o:p></p>
  <p class="MsoNormal"> <o:p></o:p></p>
  <p class="MsoNormal">Thanks,<o:p></o:p></p>
  <p class="MsoNormal">~Jet<o:p></o:p></p>
  <p class="MsoNormal"><span
 style="font-size: 12pt; font-family: "Times New Roman","serif";"><br>
  <br>
  <br>
  </span><o:p></o:p></p>
  <pre>-- <o:p></o:p></pre>
  <pre> -----------------------------------<o:p></o:p></pre>
  <pre>|Marco Giunta - SISSA Computer Staff|<o:p></o:p></pre>
  <pre>|Via Bonomea, 265                   |<o:p></o:p></pre>
  <pre>|34136 - Trieste, Italy             |<o:p></o:p></pre>
  <pre>|Tel: +39-40-3787-503               |<o:p></o:p></pre>
  <pre>|Fax: +39-040-3787-528              |<o:p></o:p></pre>
  <pre>|e-mail: giunta AT sissa.it         |<o:p></o:p></pre>
  <pre> -----------------------------------<o:p></o:p></pre>
  <p class="MsoNormal"><span
 style="font-size: 12pt; font-family: "Times New Roman","serif";"><br>
  <br>
  <o:p></o:p></span></p>
  <pre>-- <o:p></o:p></pre>
  <pre> -----------------------------------<o:p></o:p></pre>
  <pre>|Marco Giunta - SISSA Computer Staff|<o:p></o:p></pre>
  <pre>|Via Bonomea, 265                   |<o:p></o:p></pre>
  <pre>|34136 - Trieste, Italy             |<o:p></o:p></pre>
  <pre>|Tel: +39-40-3787-503               |<o:p></o:p></pre>
  <pre>|Fax: +39-040-3787-528              |<o:p></o:p></pre>
  <pre>|e-mail: giunta AT sissa.it         |<o:p></o:p></pre>
  <pre> -----------------------------------<o:p></o:p></pre>
  </div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
 -----------------------------------
|Marco Giunta - SISSA Computer Staff|
|Via Bonomea, 265                   |
|34136 - Trieste, Italy             |
|Tel: +39-40-3787-503               |
|Fax: +39-040-3787-528              |
|e-mail: giunta AT sissa.it         |
 -----------------------------------</pre>
</body>
</html>