I have gone through this article.
But I am getting following error when adding user to group.
adduser: The group `libvirtd' does not exist.
This worked perfectly in 16.04.
Is there anything missing in Ubuntu 17.10?
I have gone through this article.
But I am getting following error when adding user to group.
adduser: The group `libvirtd' does not exist.
This worked perfectly in 16.04.
Is there anything missing in Ubuntu 17.10?
I had the same problem following the guide you've mentioned above.
The problem is - that group is called
libvirt
and NOTlibvirtd
.You should already be part of it (run
groups
to check), so just logout and login back.To check if it's ok run
virsh -c qemu:///system list
WITHOUT sudo.More info
The answer was found here:
In recent releases (>= Ubuntu Yakkety) the user group libvirtd was renamed to libvirt. An upgraded system gets a new libvirt group with the same gid as the libvirtd group to match that.
Do this Bash script to resolve it.