[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Tue, May 23, 2017 at 06:22:45PM +0200, Stefan Bader wrote:
> From: Serge Hallyn <serge hallyn ubuntu com>
> 
> Signed-off-by: Christian Ehrhardt <christian ehrhardt canonical com>
> Signed-off-by: Stefan Bader <stefan bader 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 redhat com
> https://www.redhat.com/mailman/listinfo/libvir-list
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]