Skip to content

Commit

Permalink
doc/rbd: remind Selinux/AppArmor effect on libvirtd
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
changchengx committed Dec 16, 2019
1 parent 767161a commit e16ac01
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions doc/rbd/libvirt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e16ac01

Please sign in to comment.