Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0005346: Yum returns 401 errors if a mirrorlist is password protected

$
0
0
The repo format:<br /> <br /> [software]<br /> name=Client Packages for Enterprise Linux $releasever - $basearch<br /> mirrorlist=<a href="http://user:<a href="mailto:password@rpm.domain.com">password@rpm.domain.com</a>/m?release=$releasever&arch=$basearch&repo=software">http://user:<a href="mailto:password@rpm.domain.com">password@rpm.domain.com</a>/m?release=$releasever&arch=$basearch&repo=software</a> [<a href="http://user:<a href="mailto:password@rpm.domain.com">password@rpm.domain.com</a>/m?release=$releasever&arch=$basearch&repo=software" target="_blank">^</a>]<br /> enabled=0<br /> gpgcheck=1<br /> gpgkey=<a href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-SOFTWARE">file:///etc/pki/rpm-gpg/RPM-GPG-KEY-SOFTWARE</a> [<a href="file:///etc/pki/rpm-gpg/RPM-GPG-KEY-SOFTWARE" target="_blank">^</a>]<br /> <br /> For some reason, the Authorization headers are not passed when 'mirrorlist' is used. Everything works as expected when 'baseurl' is used.

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>