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

Bug 703276

Summary: sys-apps/portage-2.3.79 - _configure_loopback_interface does not work properly in qemu-aarch64 chroot.
Product: Portage Development Reporter: crocket <crockabiscuit>
Component: CoreAssignee: Portage team <dev-portage>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://launchpad.net/bugs/1857811
Whiteboard:
Package list:
Runtime testing required: ---

Description crocket 2019-12-18 10:30:23 UTC
When I execute equery or emerge in qemu-aarch64 chroot, I see the following error message many times.

Unable to configure loopback interface: Operation not supported

I traced the error back to _configure_loopback_interface function in sys-apps/portage by searching the internet.
Comment 1 Mike Gilbert gentoo-dev 2019-12-18 16:48:35 UTC
Try setting FEATURES="-network-sandbox" in make.conf.

I suspect there is nothing we can do in Portage to make this with in qemu-user.
Comment 2 crocket 2019-12-18 23:58:24 UTC
FEATURES="-network-sandbox" works around this issue. It seems qemu doesn't yet support pid-sandbox and network-sandbox