]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rbd: remind Selinux/AppArmor effect on libvirtd 32273/head
authorChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 16 Dec 2019 11:41:26 +0000 (19:41 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 16 Dec 2019 11:49:18 +0000 (19:49 +0800)
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 <changcheng.liu@aliyun.com>
doc/rbd/libvirt.rst

index 186c95273df7eade552737906d6b24513f86e426..3488096628c38b0f302ee89ac0cc03165d9c6c50 100644 (file)
@@ -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