Comment 18 for bug 1767302

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

A little summary for my bad memory:

- We were suggesting adding sudo users to kvm group in
  https://salsa.debian.org/qemu-team/qemu/merge_requests/2
- Systemd upstream has decided /dev/kvm is 0666 and open for all
  https://github.com/systemd/systemd/commit/b8fd3d82205f632ce001fade74fed287e1564a1a
- Debian has chosen to stick with 0660 + group root:kvm (we want that as well)
- systemd >=239-6 have taken over doing all of that:
  https://salsa.debian.org/systemd-team/systemd/commit/4fc3fa53bfa6e16ceb6cd312f49003839b56144a
  This is in >=Cosmic
- qemu in debian dropped the group creation and the chown code (as it is done by udev/systemd now)
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892945
  https://salsa.debian.org/qemu-team/qemu/commit/cb8737ef48a37eddf12ac199b46f9034273ba6d3
  Not yet released, will be in >= Disco
- tagging with uaccess should work much better for qemu://session
- see https://enotty.pipebreaker.pl/2012/05/23/linux-automatic-user-acl-management/ for general uaccess info in general
- The reason to consider the this older <Xenial "add all sudo to kvm" handling was this bug here
  but that should be covered by uaccess in Disco and later
- I was abandoning my PR with Debian based on that retriage of the case

If that is still/again an issue on >=19.04 (after we have qemu 3.1 there) please report
$ getfact /dev/kvm