Red Hat Bugzilla – Bug 373471
yum secretly adds repo urls which aren't under /etc/yum.repos.d
Last modified: 2014-01-21 18:00:40 EST
Description of problem:
So I did a fresh install of F8 on my laptop from qafiler (as pointed out by
Warren). I booted my machine, pirut started and updated my box, and I shutdown
I brought the machine home, fired off a yum install <foo> and it failed to find
download.boston.redhat.com. Now nowhere did I ever enter the address during my
install. Even a 'grep -r boston /etc/*' yielded nothing (except dhcpclient).
How the hell??!! Anyway a 'yum install --disablerepo=* --enablerepo=f* <foo>'
works around the issue. I have no idea why.
Version-Release number of selected component (if applicable):
fresh install of F8
Steps to Reproduce:
Do you have any:
the mirrorlists are handed back based on the best ones for your ip.
this is not a bug
I changed IP addresses as I went from the company network to my home network.
If yum can't handle that through mirrorlists than that's a bug in of itself.
Regardless, I do have mirrorlist= lines (but none of the contain *boston*
ps sorry for being grumpy. just sucks to install a laptop and have so many
you changed networks but the mirrorlists were still cached. So yum used the
within-cache-expiration mirrorlists rather than grab new ones. Your old ones
were for the boston office's vpn only.
There's the problem.
yum can handle changing networks fine - but it has no way of knowing that your
successfully cached mirrorlist is incorrect on this network.
should it cache the ip address with the mirrorlist? that way if the ip address
changes it can invalidate the mirrorlists?
No, Set your mirrorlist_expire variable to a smaller number.
I assume 'mirrorlist_expire' is supposed to be in /etc/yum.conf? If it is, I
don't have a variable nor value to set smaller.
Also any way to make this problem more obvious to the casual user so they don't
scratch their head and file bugzillas? :-)
it's in there on mine.
The casual user doesn't have a separate mirror at work than the ones at home.