Bug 1319

Summary: dns doesn't work after network configuration during rc1 upgrade.
Product: Mageia Reporter: Dave Hodgins <davidwhodgins>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: major    
Priority: Normal CC: thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:
Attachments: output from "strace -o strace.txt host gooogle.com" while in the installer.

Description Dave Hodgins 2011-05-18 05:46:56 CEST
Using mageia-dvd-1-rc-i586.iso, network starts, but dns doesn't work.
Switching to a console (alt+ctrl+f2), and running host mageia.org returns
host: dst_lib_init: openssl failure

I expect this is related to https://bugs.mageia.org/show_bug.cgi?id=871
where the appropriate /usr/lib*/openssl*/engines/libgost.so has to be
available.
Comment 1 Ahmad Samir 2011-05-19 23:47:17 CEST
I think this is another symptom of the Mageia servers going down for a while today, the issue has been fixed, e.g. bugzilla works now.
Comment 2 Dave Hodgins 2011-05-20 05:12:39 CEST
Created attachment 428 [details]
output from "strace -o strace.txt host gooogle.com" while in the installer.

I tested the rc dvd again.  During network configuration, the network starts,
but fails the test.

When it gets to downloading the updates, that works.  It appears that aria2c
does not use the normal name resolver.  It must be sending packets directly
to the name server.

While the updates were being done, I switched to Alt+ctrl+f2 to run the host
command under strace.  As shown by the strace output, the libgost.so
library is not found.

I expect fixing this would fix the test done at the end of network configuration,
as well as allowing things like the host command to work.
Comment 3 Ahmad Samir 2011-05-20 05:27:59 CEST
A duplicate then.

*** This bug has been marked as a duplicate of bug 1266 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 4 Thierry Vignaud 2011-05-20 08:45:46 CEST
Not at all

Status: RESOLVED => REOPENED
CC: (none) => thierry.vignaud
Resolution: DUPLICATE => (none)

Comment 5 Dave Hodgins 2011-05-20 08:57:08 CEST
NO!  This bug has nothing to do with network::tools::get_routes.

The problem is that /usr/lib/openssl-1.0.0d/engines/libgost.so
does not exist on the i586 dvd installer and presumably,
/usr/lib64/openssl-1.0.0d/engines/libgost.so for the x86_64 installer.

It is a required library due to dnssec being added to dns lookups.

While https://bugs.mageia.org/show_bug.cgi?id=871 was about getting
the named daemon to work in a chroot environment, this is about getting
the host command to work in the installer.

The solution is the same.  libgost.so must be available.  That means the
package libopenssl-engines1.0.0 must be in installed into the installer.
Comment 6 Thierry Vignaud 2011-05-25 07:57:20 CEST
Installer doesn't include host.
You can use programs from the chrooted (in-progress) install though as /mnt/*{,/usr}bin are in PATH.
So you are actually complaining about running a chrooted program from drakx.
=> WONTFIX

*** This bug has been marked as a duplicate of bug 871 ***

Status: REOPENED => RESOLVED
Resolution: (none) => DUPLICATE