[libvirt] [PATCH 07/10] apparmor, libvirt-qemu: Allow access to ceph config

Guido Günther agx at sigxcpu.org
Fri Jun 2 18:57:25 UTC 2017


On Tue, May 23, 2017 at 06:22:45PM +0200, Stefan Bader wrote:
> From: Serge Hallyn <serge.hallyn at ubuntu.com>
> 
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>
> Signed-off-by: Stefan Bader <stefan.bader at canonical.com>
> ---
>  examples/apparmor/libvirt-qemu | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu
> index 7fa512f..fddc93a 100644
> --- a/examples/apparmor/libvirt-qemu
> +++ b/examples/apparmor/libvirt-qemu
> @@ -156,6 +156,9 @@
>    /sys/bus/ r,
>    /sys/class/ r,
>  
> +  # for rbd
> +  /etc/ceph/ceph.conf r,
> +

Shouldn't this only be added when ceph is in use?
Cheers,
 -- Guido

>    # for ppc device-tree access
>    @{PROC}/device-tree/ r,
>    @{PROC}/device-tree/** r,
> -- 
> 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