| Summary: | mirror API return a list including cauldron repos if URL misses arch | ||
|---|---|---|---|
| Product: | Websites | Reporter: | jim l <jiml> |
| Component: | mirrors.mageia.org | Assignee: | Sysadmin Team <sysadmin-bugs> |
| Status: | NEW --- | QA Contact: | |
| Severity: | critical | ||
| Priority: | High | CC: | doktor5000, marja11, nanardon, sysadmin-bugs |
| Version: | trunk | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | CVE: | ||
| Status comment: | |||
|
Description
jim l
2014-03-22 20:24:40 CET
Manuel Hiebel
2014-03-30 11:15:17 CEST
Component:
BuildSystem =>
RPM Packages it works fine on mga4
Florian Hubold
2014-04-01 21:10:32 CEST
CC:
(none) =>
doktor5000 but it looks like someone was affected too on irc, wiki was a bit updated, thierry, if you want to take a look, Assignee:
sysadmin-bugs =>
thierry.vignaud IIRC since Mageia 2 or 3, at least when using only --distrib one needs to escape the URL to mirror with single quotes when using either $RELEASE or $ARCH otherwise those are not expanded. E.g. urpmi.addmedia --distrib --wget ftp://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/$RELEASE/$ARCH would fail but urpmi.addmedia --distrib --wget 'ftp://ftp.nluug.nl/pub/os/Linux/distr/mageia/distrib/$RELEASE/$ARCH' would work. WRONG! That's not a syntax error. Urpmi is just expecting an URL. You did provide a valid URL (though not actually pointing to what you though) urpmi expand $ARCH, ... if found. Of course, if you don't quote them, the shell will first try to expand them. The doc was wrong and has been fixed. The real bug regarding upgrade to cauldron instead of mga4 is that the server wrongly reports the content of http://mirrors.mageia.org/api/mageia.4.list when requesting http://mirrors.mageia.org/api/mageia.4..list Status:
NEW =>
ASSIGNED
Thierry Vignaud
2014-04-03 03:33:37 CEST
Priority:
Normal =>
High Actually both these 2 URLs return bogus results. The results are not good when arch is missed. It should return an empty list in that case. Compare: - OK: http://mirrors.mageia.org/api/mageia.4.i586.list - KO: http://mirrors.mageia.org/api/mageia.4..list http://mirrors.mageia.org/api/mageia.4.list http://mirrors.mageia.org/api/mageia..list http://mirrors.mageia.org/api/mageia.list http://mirrors.mageia.org/api/mageia.40.list Summary:
mirror API return a list including instead adds cauldron repos =>
mirror API return a list including cauldron repos if URL misses arch
Manuel Hiebel
2014-04-03 16:00:57 CEST
CC:
(none) =>
nanardon setting status back from ASSIGNED to NEW, because the current assignee (Sysadmin Team) did not set the ASSIGNED status. Status:
ASSIGNED =>
NEW Hi, This is High priority bug for a good reason. Making Mageia even better than ever is best direction. In order to do right thing, this bug should be examined and fixed as soon as possible. Packagers, please make the status to Assigned when you are working on this. Feel free to reassign the bug if bad-triaged. Also, if bug is old, please close it. On October 1st 2020, we will drop priority to normal. |