Received: from eggs.gnu.org ([2001:4830:134:3::10]:47234) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFQjS-00037H-N5 for qemu-devel@nongnu.org; Tue, 21 Jun 2016 14:49:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFQjO-00067L-Hu for qemu-devel@nongnu.org; Tue, 21 Jun 2016 14:49:05 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:62369) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFQjO-00066y-7F for qemu-devel@nongnu.org; Tue, 21 Jun 2016 14:49:02 -0400 References: <1466531475-13389-1-git-send-email-laurent@vivier.eu> From: Laurent Vivier Message-ID: <46690f64-b889-17c2-a135-1737593ea9fe@vivier.eu> Date: Tue, 21 Jun 2016 20:48:51 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 0/3] More netlink fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Riku Voipio , QEMU Developers Le 21/06/2016 à 19:55, Peter Maydell a écrit : > On 21 June 2016 at 18:51, Laurent Vivier 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