From f90b4997b86efe797c124d1a9e4a759f7407419d Mon Sep 17 00:00:00 2001 From: Changcheng Liu Date: Mon, 27 Apr 2020 18:16:43 +0800 Subject: [PATCH] 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 --- doc/rbd/libvirt.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/rbd/libvirt.rst b/doc/rbd/libvirt.rst index c0ba118197a..bd58e6a330f 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 -- 2.39.5