The host is bionic - surprisingly (as I thought it was the obvious fix),
adding kvm to the modules to be loaded didn't help

It turns out that previously, passing /dev/kvm through like this was
enough:

kvm:
  path: /dev/kvm
  type: unix-char

The perms for /dev/kvm on the host are:

crw-rw---- 1 root kvm 10, 232 Oct 30 19:36 /dev/kvm

However, its being passed through with root group ownership. Adding the
kvm gid to the pass-through for /dev/kvm allows me to launch an instance
- not sure when this changed but it was working in previous releases.

So fix is:

kvm:
  path: /dev/kvm
  type: unix-char
  gid: kvm_grp_gid

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

Title:
  qemu-system-s390x permission denied in container on Eoan

To manage notifications about this bug go to:
https://bugs.launchpad.net/lxd/+bug/1850530/+subscriptions

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

Reply via email to