#4881 Bogus entries in metalinks
Closed: Fixed None Opened 8 years ago by corsepiu.

= bug description =

I've found several bogus entries fedora's metalinks.xmls (here: fc22/i386) as being used in /etc/yum.repos.d/*.repo:

(Note: .../linux/ /releases/22...")

  • A seeming broken/misconfigured mirror:
    <url protocol="rsync" type="rsync" location="DE" preference="100" >rsync://mirror.euserv.net/fedora/releases/22/Everything/i386/os/repodata/repomd.xml</url>

rsync -v rsync://mirror.euserv.net/fedora/releases/22/Everything/i386/os/repodata/repomd.xml repomd.xml

...
rsync: change_dir "/releases/22/Everything/i386/os/repodata" (in fedora) failed:[[BR]]
No such file or directory (2)

= bug analysis =
Seems to me as if mirrormanager's configuration is bugged.

= fix recommendation =


Thanks for the report. I fixed all URLs manually right now. MM2 does not verify the URLs as good as the old MirrorManager used to. There is already check for whitespaces at the end and at the start of the string, but we are missing the check that URLs have to end without a slash. The crawler handles the URLs correctly if there a slash at the end or not. The metalink generation does not care right now and this needs to be fixed.

So the right now all URLs are correct we must now also make sure that no URLs are entered in a format MirrorManager cannot handle.

Login to comment on this ticket.

Metadata