[Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Isaac Hailperin
Dear list, I have spacewalk 2.4 installed on a CentOS 7 host, and manage CentOS 7 servers with it. Now I found that in /etc/yum.repos.d/ all configured repositories point to Internet repos. Which is not really how it should be, hosts should use the internal spacewalk repos. I assume this is due

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Robert Paschedag
Am 12. Februar 2018 10:51:55 MEZ schrieb Isaac Hailperin : >Dear list, > >I have spacewalk 2.4 installed on a CentOS 7 host, and manage CentOS 7 >servers with it. Now I found that in /etc/yum.repos.d/ all configured >repositories point to Internet repos. Which is not really how it should >be, host

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Isaac Hailperin
>>Dear list, >> >>I have spacewalk 2.4 installed on a CentOS 7 host, and manage CentOS 7 >>servers with it. Now I found that in /etc/yum.repos.d/ all configured >>repositories point to Internet repos. Which is not really how it should >>be, hosts should use the internal spacewalk repos. I assume th

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Avi Miller
Hi, > On 12 Feb 2018, at 11:51 am, Isaac Hailperin > wrote: > > What would be the easiest, or most reliable way to get the correct repo > definitions back? There may be a misunderstanding here, but Spacewalk does not generate anything in /etc/yum.repos.d/. You don't see any repo definitions

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Isaac Hailperin
Ok, just verified: If I remove the .repo file for epel, the "epel/x86_64" is gone. But how does yum know about the other repository? Where is that defined? Does yum have a plugin that lets it query the correct repositories directly from spacewalk? Isaac Von: Isa

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Isaac Hailperin
Avi - interesting point: # yum repolist |grep epel * epel: mirror.de.leaseweb.net epel/x86_64Extra Packages for Enterprise Linux 7 12,278 !epel7-centos7-x86_64 EPEL 7 for CentOS 7 (x86_64) 13,357 I think the latter is the one defined in spacewalk. H

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Bruce Wainer
The yum-rhn-plugin loads them directly from Spacewalk I believe, or maybe its cached during an rhn_check - not sure which. That is why when you run any Yum command it prints out the line about "This server is receiving updates from a Spacewalk system" or something like that (don't have a terminal o

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Avi Miller
Hi, > On 12 Feb 2018, at 5:52 pm, Bruce Wainer wrote: > > The yum-rhn-plugin loads them directly from Spacewalk I believe, or maybe its > cached during an rhn_check - not sure which. It's not cached. The yum-rhn-plugin pulls the current channel subscription from Spacewalk on each run on yum

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Isaac Hailperin
Ok, that makes more sense now. Thank you Avi for the clarification. Isaac -Original Message- From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Avi Miller Sent: Montag, 12. Februar 2018 16:57 To: spacewalk-list@redhat.com Subject: Re: [Spacewa

Re: [Spacewalk-list] Fix yum repo definitions on spacewalk clients

2018-02-12 Thread Isaac Hailperin
Bruce – thank you for the hint to just disable the repos – of course, now that you mention it its crystal clear ☺ Isaac From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Bruce Wainer Sent: Montag, 12. Februar 2018 16:53 To: spacewalk-list@redhat.com