From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7793C2BA83 for ; Wed, 12 Feb 2020 12:22:07 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AC1FC20873 for ; Wed, 12 Feb 2020 12:22:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AC1FC20873 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=vivier.eu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:36666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1r1q-0008JG-QP for qemu-devel@archiver.kernel.org; Wed, 12 Feb 2020 07:22:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56185) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j1r1G-0007uL-Es for qemu-devel@nongnu.org; Wed, 12 Feb 2020 07:21:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j1r1F-0007om-CK for qemu-devel@nongnu.org; Wed, 12 Feb 2020 07:21:30 -0500 Received: from indium.canonical.com ([91.189.90.7]:53498) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j1r1F-0007nn-7B for qemu-devel@nongnu.org; Wed, 12 Feb 2020 07:21:29 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1j1r1D-0004eD-5P for ; Wed, 12 Feb 2020 12:21:27 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 2598F2E8079 for ; Wed, 12 Feb 2020 12:21:27 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 12 Feb 2020 12:10:00 -0000 From: Laurent Vivier To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: crockabiscuit laurent-vivier X-Launchpad-Bug-Reporter: crocket (crockabiscuit) X-Launchpad-Bug-Modifier: Laurent Vivier (laurent-vivier) References: <157762661516.5433.16221584605990009162.malonedeb@gac.canonical.com> Message-Id: <158150940094.29054.15988720041479962680.malone@chaenomeles.canonical.com> Subject: [Bug 1857811] Re: qemu user static binary seems to lack support for network namespace. X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="19413b719a8df7423ab1390528edadce9e0e4aca"; Instance="production-secrets-lazr.conf" X-Launchpad-Hash: cd956b430fa4b586ca058bad168f9f68aada5156 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.189.90.7 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1857811 <1857811@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" The interesting part in emerge.log is: 23473 socket(16,,IPPROTO_IP) =3D 5 23473 bind(5,274886353720,12,0,1,274889671712) =3D 0 23473 sendto(5,275542232672,38,0,274886353960,12) =3D -1 errno=3D95 (Oper= ation not supported) 23473 close(5) =3D 0 Unable to configure loopback interface: Operation not supported So you're right 16 is AF_NETLINK At QEMU level only one function returns EOPNOTSUPP, the one managing RTM_* operations (RTM_GETLINK, RTM_GETADDR, ...) and it doesn't manage a bunch of them. Could you provide a step by step example to reproduce the problem? -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1857811 Title: qemu user static binary seems to lack support for network namespace. Status in QEMU: New Bug description: Whenever I execute emerge in gentoo linux in qemu-aarch64 chroot, I see the following error message. Unable to configure loopback interface: Operation not supported If I disable emerge's network-sandbox which utilizes network namespace, the error disappears. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1857811/+subscriptions