From: Changcheng Liu Date: Mon, 16 Dec 2019 11:41:26 +0000 (+0800) Subject: doc/rbd: remind Selinux/AppArmor effect on libvirtd X-Git-Tag: v15.1.0~458^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F32273%2Fhead;p=ceph.git doc/rbd: remind Selinux/AppArmor effect on libvirtd If libvird is under Selinux/Apparmor enforced mode, libvirtd may not be enable to do some operatoins on the rbd image. It need remind this in document. Signed-off-by: Changcheng Liu --- diff --git a/doc/rbd/libvirt.rst b/doc/rbd/libvirt.rst index 186c95273df7..3488096628c3 100644 --- a/doc/rbd/libvirt.rst +++ b/doc/rbd/libvirt.rst @@ -109,10 +109,11 @@ 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. If SELinux or AppArmor is enabled, note that this could prevent the - client process (qemu via libvirt) from writing the logs or admin socket to - the destination locations (``/var/log/ceph`` or ``/var/run/ceph``). - + 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``). Preparing the VM Manager