Where is this Mysterious RHEL5 Repos Defined?

Swiftmind <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Hello.

I am working on some systems running Red Hat Enterprise Linux 5. I am
compiling the latest RH kernel with some custom changes on a bunch of these
machines. I want to use yum to update the applications as well, but I ran
into a problem with repositories. It seems my system is the only one with
three RH repositories that contain RPMs I need to compile the kernels. So
far yum on two other systems I worked on do not have these repositories. I
am trying to figure out how my system knows about these two extra repos.
Here is my information below.

[root@Huskies etc]# uname -r
2.6.18-92.1.10.el5
[root@Huskies etc]# uname -m
x86_64

[root@Huskies etc]# rpm -qa | grep yum
yum-updatesd-0.9-2.el5
yum-metadata-parser-1.1.2-2.el5
yum-rhn-plugin-0.5.3-12.el5_2.9
yum-3.2.8-9.el5_2.1

[root@Huskies etc]# yum repolist all
Loading "rhnplugin" plugin
repo id              repo name                                 status
rhel-debuginfo       Red Hat Enterprise Linux 5Client - x86_6  disabled
rhel-x86_64-client-5 None                                      enabled
rhel-x86_64-client-s None                                      enabled
rhel-x86_64-client-w None                                      enabled

=====================================
Here is a system I am trying to update.

[root@nebulous yum.repos.d]# rpm -qa | grep yum
yum-updatesd-0.9-2.el5
yum-metadata-parser-1.1.2-2.el5
yum-rhn-plugin-0.5.3-12.el5_2.9
yum-3.2.8-9.el5_2.1

[root@nebulous yum.repos.d]# uname -r
2.6.18-92.1.1.el5
[root@Huskies etc]# uname -m
x86_64

[root@nebulous yum.repos.d]# yum repolist all
Loading "rhnplugin" plugin
repo id              repo name                                 status
rhel-debuginfo       Red Hat Enterprise Linux 5Client - x86_6  disabled
rhel-x86_64-client-5 None

=====================================
As you can see the "rhel-x86_64-client-s" and "rhel-x86_64-client-w" are
missing. Where are these repos being defined?

Here is my /etc/yum.conf, it is default I think

[root@Huskies etc]# cat yum.conf
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

# Default.
# installonly_limit = 3

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

=====================================
[root@Huskies yum.repos.d]# pwd
/etc/yum.repos.d

[root@Huskies yum.repos.d]# ls -a
.  ..  rhel-debuginfo.repo

[root@Huskies yum.repos.d]# cat rhel-debuginfo.repo
[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

=====================================

[root@Huskies yum]# pwd
/etc/yum
[root@Huskies yum]# ls -a
.  ..  pluginconf.d  yum-updatesd.conf

[root@Huskies yum]# cat yum-updatesd.conf
[main]
# how often to check for new updates (in seconds)
run_interval = 3600
# how often to allow checking on request (in seconds)
updaterefresh = 600

# how to send notifications (valid: dbus, email, syslog)
emit_via = dbus
# should we listen via dbus to give out update information/check for
# new updates
dbus_listener = yes

# automatically install updates
do_update = no
# automatically download updates
do_download = no
# automatically download deps of updates
do_download_deps = no


[root@Huskies yum]# cd pluginconf.d/

[root@Huskies pluginconf.d]# ls -a
.  ..  rhnplugin.conf
[root@Huskies pluginconf.d]# cat rhnplugin.conf
[main]
enabled = 1
gpgcheck = 1

=====================================
I am thinking there is another location where repositories are defined. But
so far everything I read has only mentioned yum.conf or /etc/yum.repos.d.
Any help on figuring this out is appreciated. Thanks.

_______________________________________________
Yum mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.