[libvirt] [PATCH 08/10] apparmor, libvirt-qemu: Allow macvtap access
Guido Günther
agx at sigxcpu.org
Fri Jun 2 18:55:18 UTC 2017
On Tue, May 23, 2017 at 06:22:46PM +0200, Stefan Bader wrote:
> From: Guilhem Lettron <guilhem+ubuntu at lettron.fr>
>
> Add rule to allow access to /dev/tap* used by macvtap.
>
> Bug-Ubuntu: https://bugs.launchpad.net/bugs/921870
>
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
> ---
> examples/apparmor/libvirt-qemu | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu
> index fddc93a..e2b0dfd 100644
> --- a/examples/apparmor/libvirt-qemu
> +++ b/examples/apparmor/libvirt-qemu
> @@ -17,6 +17,7 @@
> network inet6 stream,
>
> /dev/net/tun rw,
> + /dev/tap* rw,
> /dev/kvm rw,
> /dev/ptmx rw,
> /dev/kqemu rw,
Shouldn't this only be added when macvtap is in use?
Cheers,
-- Guido
> --
> 2.7.4
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>
More information about the libvir-list
mailing list