Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 796737

Summary: net-libs/libslirp-4.6.0 breaks app-emulation/qemu-6.0.0 user mode DHCP server
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: StabilizationAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal Keywords: CC-ARCHES, PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
net-libs/libslirp-4.6.1 *
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 796347    

Description Chris Mayo 2021-06-19 10:31:38 UTC
No IP address is assigned to the guest network interface when starting qemu with the default -nic user and using DHCP in the guest.

Fixed by reverting to net-libs/libslirp-4.3.1-r1 (although this has multiple CVEs bug 796347).

Also appears to be fixed in libslirp-4.6.1:

Fix DHCP regression introduced in 4.6.0. !95
https://gitlab.freedesktop.org/slirp/libslirp/compare/v4.6.0...v4.6.1
Comment 1 Larry the Git Cow gentoo-dev 2021-06-19 16:03:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c12ee84df0feb4f2b0d21d8048abb4796d6c459c

commit c12ee84df0feb4f2b0d21d8048abb4796d6c459c
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2021-06-19 16:01:34 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2021-06-19 16:03:06 +0000

    net-libs/libslirp: Bump to version 4.6.1
    
    Closes: https://bugs.gentoo.org/796737
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 net-libs/libslirp/Manifest                                         | 2 +-
 net-libs/libslirp/{libslirp-4.6.0.ebuild => libslirp-4.6.1.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-19 17:34:30 UTC
I suppose we need to stabilise it now given QEMU 6.0.0 is.
Comment 3 Zac Medico gentoo-dev 2021-06-19 18:20:06 UTC
Yeah, I went ahead and bumped it with stable keywords.