[Pkg-libvirt-maintainers] Bug#623537: Bug#623537: virt-manager: Confirms issue

Guido Günther agx at sigxcpu.org
Tue Mar 5 08:35:07 GMT 2019


Hi Nils,
On Mon, Mar 04, 2019 at 11:58:28PM +0100, Nils Jarle Haugen wrote:
> Dear maintainer,
> 
> 
> I can confirm that i fixed the issue after consulting with some support over
> at the #virt channel on OFTC.
> The issue was that the libvirt system user account (libvirt-qemu) was not a
> member of the plugdev group, which owns /dev/kvm.
> 
> After adding the libvirt-qemu to the plugdev group, libvirt recognises KVM
> and runs as normal.
> 
> I'm not sure how this happend, as I've never done any changes to that group.

Thanks for investigating1! On Debin user libvirt-qemu should be in group
kvm and

$ ls -l /dev/kvm 
crw-rw----+ 1 root kvm 10, 232 Mär  5 09:30 /dev/kvm

Plugdev is not the right group here:

$ getfacl /dev/kvm 
getfacl: Removing leading '/' from absolute path names
# file: dev/kvm
# owner: root
# group: kvm
user::rw-
user:agx:rw-
group::rw-
mask::rw-
other::---

so s.th. seems to be wired in you setup. Since this does not seem to be
a packaging bug can we close that issue?

Cheers,
 -- Guido



More information about the Pkg-libvirt-maintainers mailing list