tmatilai / vagrant-proxyconf

Vagrant plugin that configures the virtual machine to use proxies
MIT License
531 stars 74 forks source link

yum disable fastestmirror #148

Closed johnandersen777 closed 7 years ago

johnandersen777 commented 8 years ago

54, https://wiki.centos.org/PackageManagement/Yum/FastestMirror say that fastestmirror should not be used behind a proxy

otahi commented 8 years ago

@pdxjohnny thank you for your pull request!

Can you explain the yum-plugin-fastestmirror? Doesn't yum work If there is no configuration change for /etc/yum/pluginconf.d/fastestmirror.conf?

johnandersen777 commented 8 years ago

For me it was working 3/4 times but not the fourth so I thought it would be good to submit the patch to reduce random errors like that. I was starting the hosts in dcos/dcos-vagrant and a4 was failing on the proxy whereas the rest worked fine. It must be a bug in fastest proxy

otahi commented 8 years ago

@pdxjohnny Thank you for your comment. I understand that yum fails sometimes when fastestmirror configuration remains.

Fastestmirror doesn't work after vagrant-proxyconf disables fastestmirror, even if there is no proxy server. So, this disabling means like yum remove.

I think this modification is a bit much, because fastestmirror is optional package, and it is difficult to enable when there is no proxy server.

What do you think?

johnandersen777 commented 7 years ago

This is stale, closing