| Summary: | netinstall, no mirror listed in stage1 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Manuel Hiebel <manuel.mageia> |
| Component: | Installer | Assignee: | Mageia Bug Squad <bugsquad> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, mageia, pterjan, sysadmin-bugs, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | dracut | CVE: | |
| Status comment: | |||
|
Description
Manuel Hiebel
2014-07-06 18:05:47 CEST
Manuel Hiebel
2014-07-06 18:06:58 CEST
Summary:
netinstall, no mirror listed in stage2 =>
netinstall, no mirror listed in stage1 we get those from the web site... CC:
(none) =>
thierry.vignaud Yes but it works using the same vm with the 4.1 iso and http://mirrors.mageia.org/api/basic.5.x86_64.list is accessible In the log I see HTTP: connecting to mirrors (...) getaddressinfo: no address associated with hostname HTTP: unable to get mirrorlist from ... api/5/basic.x86_64.list while on 4/ I see is-at: 215 ... So that's why I think something is broken in stage1 Humm. In the old days, we used gethostby*() with dietlibc. Then we switched from gethostby*() to getaddrinfo(): http://gitweb.mageia.org/software/drakx/log/mdk-stage1/dns.c Then we switched from dietlibc to glibc when using dracut (which makes use gethostby*() again). Just after mga4, I made us use the same code with glibc that we used with dietlibc: http://gitweb.mageia.org/software/drakx/commit/mdk-stage1/dns.c?id=6d8df12830883d6537e6844a6deae8adb8bfe37c This seems to be the root cause of this issue. Maybe glibc's resolver needs some file we lack? But why would it work with gethostby*() but not with getaddrinfo() CC:
(none) =>
mageia, mageia We don't seem to have libnss_dns. Adding inst_libdir_file "libnss_dns.so.*" at a random place in /usr/lib/dracut/modules.d/90mgainstaller/module-setup.sh seems to have fixed it. CC:
(none) =>
pterjan
Thierry Vignaud
2014-07-12 19:52:14 CEST
Component:
Release (media or process) =>
Installer Thanks! Upload of dracut in progress, I'll rebuild d-i*images with it Fixed, thanks Status:
NEW =>
RESOLVED |