• D
    qemu: let qemu group look below /var/lib/libvirt/qemu/ · 0df552cd
    Dan Kenigsberg 提交于
    Vdsm needs to communicate with its guest agent via unix domain socket,
    which qemu creates due to the following domain xml device:
    
        <channel type='unix'>
          <target type='virtio' name='com.redhat.rhevm.vdsm'/>
          <source mode='bind' path='/var/lib/libvirt/qemu/channels/fcp-xp-1.com.redhat.rhevm.vdsm'/>
        </channel>
    
    The location of the socket below /var/lib/libvirt/qemu/channels makes
    sense, to humans and selinux policy alike. However, that socket should
    be accessible to vdsm, too.
    
    Due to other (storage) reasons, vdsm is to join the "qemu" group. With
    this patch, vdsm can look below /var/lib/libvirt/qemu and connect to the
    socket.
    
    The socket itself should be chmod'ed to allow qemu group read/write, but
    that's for another project.
    
    BZ#643407
    0df552cd
libvirt.spec.in 35.6 KB