[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] More netlink fixes
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] More netlink fixes |
Date: |
Tue, 21 Jun 2016 20:48:51 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
Le 21/06/2016 à 19:55, Peter Maydell a écrit :
> On 21 June 2016 at 18:51, Laurent Vivier <address@hidden> 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