From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e15ok-0002FU-HL for guix-patches@gnu.org; Sun, 08 Oct 2017 03:16:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e15og-0003Xk-JW for guix-patches@gnu.org; Sun, 08 Oct 2017 03:16:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46763) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e15og-0003Xg-Gg for guix-patches@gnu.org; Sun, 08 Oct 2017 03:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e15og-0007gR-Bv for guix-patches@gnu.org; Sun, 08 Oct 2017 03:16:02 -0400 Subject: [bug#28718] [PATCH] gnu: qemu: Add sysconfdir to configure-flags. Resent-Message-ID: From: Oleg Pykhalov References: <87mv552bs5.fsf@gmail.com> <877ew6k88s.fsf@gnu.org> Date: Sun, 08 Oct 2017 10:15:41 +0300 In-Reply-To: <877ew6k88s.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 07 Oct 2017 22:34:11 +0200") Message-ID: <87tvza3yaq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28718@debbugs.gnu.org Hello Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] >> I've used this patch to run a QEMU VM with bridge interface. >> >> $ mkdir -p /tmp/etc/qemu >> $ echo 'allow bridge0' | tee -a /tmp/etc/qemu/bridge.conf >> # ip link add bridge0 type bridge >> # ip link set dev enp6s0 master bridge0 >> # ip link up bridge0 >> # dhclient bridge0 >> # qemu-system-x86_64 -net nic -net bridge,br=3Dbridge0 # =E2=80=A6 > > It feels wrong to me to default to /tmp/etc instead of /etc. > > Setting up a bridge requires root privileges anyway, so why not stick to > /etc instead of /tmp/etc? It's inspired by libvirt package recipe :-)