Hi,
help sorting out dirs and required access here:
$ ll /var/lib/libvirt/
drwxr-xr-x  7 root         root 4096 Feb  8 07:55 ./
drwx--x--x  2 root         root 4096 Dec 14 13:15 boot/
drwxr-xr-x  2 root         root 4096 Feb 19 14:08 dnsmasq/
drwx--x--x  2 root         root 4096 Dec 14 13:15 images/
drwx------  2 root         root 4096 Dec 14 13:15 sanlock/

On the above only libvirt needs to access (and libvirt runs as root)

drwxr-x---  8 libvirt-qemu kvm  4096 Feb 14 08:02 qemu/

this is the one dir qemu (read potentially untrusted guest code) needs to 
access.
So only this dir is on libvirt-qemu:kvm ownership.

So "libvirt-qemu doesnt have permissions to open directory 
'/var/lib/libvirt/'.":
Yes, and it usually doesn't need.

I hope this helps when you double check your setup.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1750543

Title:
  [power9][Ubuntu 18.04][4.15.0-10-generic][libvirt-bin-4.0.0-1ubuntu2]
  KVM guest unable start from libvirt "could not find capabilities for
  arch=ppc64le " (kvm)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/1750543/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to