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

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

 



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

ACK.
 -- Guido

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux