Le 21/06/2016 à 19:55, Peter Maydell a écrit : > On 21 June 2016 at 18:51, Laurent Vivier <[email protected]> wrote: >> This series allows to run "apt-get update" or "dnf update" >> >> Access to internet is hanging because glibc checks the netlink >> sequence number when it scans for the local IP addresses, >> and this number is corrupted. This is fixed by patch 2. >> >> Once we have fixed this, passwd is not working anymore (audit netlink), >> because data are not translated while using recvfrom(). This is fixed by >> patch 3. Patch 1 is a pre-requesite for patch 3. >> >> I've tested "apt-get update" and "passwd" with qemu-s390x (big-endian/64bit) >> ,qemu-m68k (big-endian/32bit, qemu-ppc64le (little-endian/64bit) on x86_64 >> (little-endian/64bit). > > Are these fixes for regressions? "apt-get update" has worked > for me for ages.
Yes. When netlink is not available, glibc doesn't use it and "apt-get update", "wget", "dnf update", ... work fine. But when netlink is available, glibc uses it and we meet this bug: they hang. But it happens only if endianness differs between host and guest. Laurent
