From e16ac01742251c7834b91398c5bfc56e20863487 Mon Sep 17 00:00:00 2001 From: Changcheng Liu Date: Mon, 16 Dec 2019 19:41:26 +0800 Subject: [PATCH] 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 --- doc/rbd/libvirt.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/rbd/libvirt.rst b/doc/rbd/libvirt.rst index 186c95273df..3488096628c 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 -- 2.39.5