<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<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;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {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]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=WordSection1>

<p class=MsoNormal><span style='color:#1F497D'>Awesome I now get it. 
Thanks :-D<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> spacewalk-list-bounces@redhat.com
[mailto:spacewalk-list-bounces@redhat.com] <b>On Behalf Of </b>Marco Giunta<br>
<b>Sent:</b> Thursday, September 23, 2010 10:08 AM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] how do the files in /etc/yum.repos.d/
relate when using spacewalk?<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:#1F497D'>Hi,</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>               
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><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><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 overwriting base OS packages.<br>
<br>
But, if you sync CentOS base, updates, extras and EPEL repositories with
command 'reposync -l bla bla bla ' ('-l' flag = enable yum plugin support) to
local directories, you don't download Epel rpms that could overwrite base OS
packages, because you are using priority plugin ...<br>
<br>
Now, if you sync every local directories ( those with CentOS base, updates,
extras and EPEL rpms downloaded above) to spacewalk channels, you don't upload
rpms that could overwrite base OS packages, because you have never download
them ...<br>
<br>
  Marco<br>
<br>
<br>
<br>
<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>   Thanks again for
answering my questions and being so patient with me as I try to understand.</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Thanks,</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>~Jet</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> <a
href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>
[<a 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</span><o:p></o:p></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:#1F497D'>Hi,</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>               
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:12.0pt;font-family:"Times New Roman","serif"'><br>
No, my workstations have only spacewalk repository by rhnplugin<br>
<br>
<br>
<br>
</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>  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:12.0pt;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>
<br>
</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Thanks,</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>~Jet</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;
border-color:-moz-use-text-color'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> <a
href="mailto:spacewalk-list-bounces@redhat.com">spacewalk-list-bounces@redhat.com</a>
[<a 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:12.0pt;font-family:"Times New Roman","serif"'><br>
<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:12.0pt;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:12.0pt;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>

</body>

</html>