Subject: Re: [bug#28718] [PATCH] gnu: qemu: Add sysconfdir to configure-flags.

From: Oleg Pykhalov <[email-masked]>
Date: Sun, 08 Oct 2017 10:15:41 +0300

Hello Ludovic,

[email-masked] (Ludovic Courtès) 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=bridge0 # …
>
> 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 :-)