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

Re: [libvirt] [PATCH 10/10] apparmor, libvirt-qemu: Allow access to certificates used by libvirt-vnc



On Tue, May 23, 2017 at 06:22:48PM +0200, Stefan Bader wrote:
> From: Serge Hallyn <serge hallyn ubuntu com>
> 
> When setting up VncTLS according to the official Libvirt documentation,
> only one certificate for libvirt/libvirt-vnc is used. The document
> indicates to use the following directories :
> 
>  /etc/pki/CA
>  /etc/pki/libvirt
>  /etc/pki/libvirt/private
> 
> in order to manage the certificates used by libvirt-vnc.
> 
> Bug-Ubuntu: https://bugs.launchpad.net/bugs/901272
> 
> Signed-off-by: Christian Ehrhardt <christian ehrhardt canonical com>
> Signed-off-by: Stefan Bader <stefan bader canonical com>
> ---
>  examples/apparmor/libvirt-qemu | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/examples/apparmor/libvirt-qemu b/examples/apparmor/libvirt-qemu
> index 89525b3..e990ab4 100644
> --- a/examples/apparmor/libvirt-qemu
> +++ b/examples/apparmor/libvirt-qemu
> @@ -144,6 +144,12 @@
>    /usr/{lib,lib64}/qemu/block-curl.so mr,
>    /usr/{lib,lib64}/qemu/block-rbd.so mr,
>  
> +  # for use by libvirt-vnc (LP: #901272)
> +  /etc/pki/CA/ r,
> +  /etc/pki/CA/* r,
> +  /etc/pki/libvirt/ r,
> +  /etc/pki/libvirt/** r,
> +
>    # for save and resume
>    /{usr/,}bin/dash rmix,
>    /{usr/,}bin/dd rmix,
> -- 
> 2.7.4
> 
> --
> libvir-list mailing list
> libvir-list redhat com
> https://www.redhat.com/mailman/listinfo/libvir-list
> 

ACK.
 -- Guido


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