From: Changcheng Liu Date: Mon, 27 Apr 2020 10:16:43 +0000 (+0800) Subject: doc/rbd: explicit remind the directory access right X-Git-Tag: v16.1.0~2444^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F34765%2Fhead;p=ceph.git doc/rbd: explicit remind the directory access right It needs to create admin socket to use perf counter for debug purpose. Remind the access right to directory. Signed-off-by: Changcheng Liu --- diff --git a/doc/rbd/libvirt.rst b/doc/rbd/libvirt.rst index c0ba118197a3..bd58e6a330f4 100644 --- a/doc/rbd/libvirt.rst +++ b/doc/rbd/libvirt.rst @@ -111,11 +111,12 @@ To configure Ceph for use with ``libvirt``, perform the following steps: admin socket = /var/run/ceph/$cluster-$type.$id.$pid.$cctid.asok The ``client.libvirt`` section name should match the cephx user you created - above. + above. If SELinux or AppArmor is enabled, note that this could prevent the client process (qemu via libvirt) from doing some operations, such as writing logs or operate the images or admin socket to the destination locations (``/var/ - log/ceph`` or ``/var/run/ceph``). + log/ceph`` or ``/var/run/ceph``). Additionally, make sure that the libvirt + and qemu users have appropriate access to the specified directory. Preparing the VM Manager