From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: bug#24156: QEMU '-net bridge' --> "qemu-system-x86_64: -net bridge: bridge helper failed" Date: Thu, 04 Aug 2016 22:40:15 -0400 Message-ID: <8637mk6ir4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVV5K-0000iP-OH for bug-guix@gnu.org; Thu, 04 Aug 2016 22:42:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVV5G-000077-Jn for bug-guix@gnu.org; Thu, 04 Aug 2016 22:42:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVV5G-000073-G0 for bug-guix@gnu.org; Thu, 04 Aug 2016 22:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bVV5G-0008As-BC for bug-guix@gnu.org; Thu, 04 Aug 2016 22:42:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVV4x-0000bx-29 for bug-guix@gnu.org; Thu, 04 Aug 2016 22:41:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bVV4s-0008Mq-LB for bug-guix@gnu.org; Thu, 04 Aug 2016 22:41:42 -0400 Received: from mail-qk0-x242.google.com ([2607:f8b0:400d:c09::242]:34909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVV4s-0008Mg-G0 for bug-guix@gnu.org; Thu, 04 Aug 2016 22:41:38 -0400 Received: by mail-qk0-x242.google.com with SMTP id q62so22551781qkf.2 for ; Thu, 04 Aug 2016 19:41:38 -0700 (PDT) Received: from g1 (c-73-167-118-254.hsd1.ma.comcast.net. [73.167.118.254]) by smtp.gmail.com with ESMTPSA id 48sm8545015qtu.39.2016.08.04.19.41.36 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Aug 2016 19:41:37 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 24156@debbugs.gnu.org --=-=-= Content-Type: text/plain Motivation: bridging or routing is required to enable a connection to be made inward to a QEMU VM. TAP seems like the best of the available solutions. But connecting to a TAP device produces an error when the QEMU bridge helper fails. Example: g1@g1 ~/src/vmb$ qemu-system-x86_64 -net user -net bridge -net nic,model=virtio -enable-kvm -m 4096 -k en-us -display curses /home/g1/src/vmb/tmp/img6/vm.img failed to parse default acl file `/gnu/store/1072khbm9124a8a1pyyyw4mr1p12jsfq-qemu-2.6.0/etc/qemu/bridge.conf' qemu-system-x86_64: -net bridge: bridge helper failed This error was produced with the attached 'img-tap' script. e.g., to build the vm ... ./img-tap mk 1 To (attempt to) run the vm .. ./img-tap run 1 Running Guix built from git checkout on GuixSD: stat ~/.config/guix/latest | grep File: File: '/home/g1/.config/guix/latest' -> '../../src/guix' g1@g1 ~/src/vmb$ git -C ~/.config/guix/latest describe v0.11.0-242-g7ccb874 --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=img-tap Content-Transfer-Encoding: base64 IyEvcnVuL2N1cnJlbnQtc3lzdGVtL3Byb2ZpbGUvYmluL2Jhc2gKc2V0IC14ZQoKIyBndWl4IHZt IGV4YW1wbGVzCgojIHVzYWdlCiMgJCA8c2NyaXB0bmFtZT4gbWsgIFt2bSNdIC0gbWFrIGltYWdl CiMgJCA8c2NyaXB0bmFtZT4gcnVuIFt2bSNdIC0gcnVuIGltYWdlCgpDTUQ9YGJhc2VuYW1lICIk MCJgClZNTlV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