libvirtd fails with invalid argument: Failed to parse group ‘kvm’

Submitted by co60ca on Wed, 06/29/2016 - 14:05

libvirtd fails with invalid argument: Failed to parse group ‘kvm’

Tuesday, May 5, 2015 - 23:12

QEMU and it’s extention KVM require a tiny bit of configuration and VM configuration is made easier through libvirtd which acts as an API. Since I couldn’t find assistance when searching for the particular stack of errors I got when running systemctl enable libvirtd on my new box I’ll go ahead and post it here.

Dec 05 01:26:55 Brad-VMHOST libvirtd[507]: driver in virRegisterStorageDriver must not be NULL
Dec 05 01:26:55 Brad-VMHOST libvirtd[507]: Failed module registration vboxStorageRegister
Dec 05 01:26:55 Brad-VMHOST libvirtd[507]: internal error: Failed to find path for dmidecode binary
Dec 05 01:26:55 Brad-VMHOST libvirtd[507]: invalid argument: Failed to parse group 'kvm'
Dec 05 01:26:55 Brad-VMHOST libvirtd[507]: Initialization of QEMU state driver failed: invalid argument: Fail...'kvm'
Dec 05 01:26:55 Brad-VMHOST libvirtd[507]: Driver state initialization failed

The solution is to create the group kvm.
groupadd kvm worked for me. Add the users later.

Cannot check dnsmasq binary /sbin/dnsmasq: No such file or directory also came up during my setup. So I installed dnsmasq from the