Red Hat Bugzilla – Bug 1281969
baseurl with file:// hangs and then timeout in yum repo
Last modified: 2017-11-01 19:58:09 EDT
Description of problem:
using file:// in the repo appears to cause yum to timeout and not work
Version-Release number of selected component (if applicable):
/rpmcache/7/myrepo/* has a few rpms in it and repodata is created with createrepo
/usr/bin/yum --setopt=reposdir=/rpmcache/7 list
file:///rpmcache/7/myrepo/repodata/repomd.xml: [Errno 12] Timeout on file://rpmcache/7/myrepo/repodata/repomd.xml: (28, 'Operation too slow. Less than 1000 bytes/sec transferred the last 30 seconds')
Trying other mirror.
...repeats that msg.
should list the rpms
bug appears to be related to throttle=100 in yum.conf, so we might be able to work around this by increasing it.