Comment 3 for bug 1999445

Revision history for this message
Thales Elero Cervi (tcervi) wrote :

Just for reference, when using the new stx-libvirt-master-debian-* the mismatch regards the kvm group id.

Inside the container, kvm group id is 109:
# cat /etc/group | egrep 'nova|libvirt|qemu|kvm'
nova:x:162:nova
libvirt:x:991:nova
kvm:x:109:nova
libvirt-qemu:x:64055:libvirt-qemu

While on the host, this id refers to uuidd group:
$ sudo cat /etc/group | grep 109
uuidd:x:109:

That is why the kvm char device ends up with wrong ownership:
$ ls -lha /dev/kvm
crw-rw---- 1 root uuidd 10, 232 dez 14 23:54 /dev/kvm