FYI: adduser kvm solves that problem
nope. added myself and still no joy.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
User is not added to kvm group when installing gnome-boxes
Solved on 18.04 with: sudo adduser 'user' kvm and rebooted
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
User is not added to kvm group when installing gnome-boxes
To manage
** Changed in: gnome-boxes (Ubuntu Bionic)
Importance: Undecided => High
** Changed in: gnome-boxes (Ubuntu Bionic)
Status: Confirmed => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
That were quite some updates, but it shows
- the fix in >=Cosmic came in via systemd
- (at least atm) I do not intend to fix it in Bionic Qemu
- gnome-boxes in Bionic is affected and could get a fix (the suggested
auto-adding of users to
group kvm if you want that)
--
You received this bug
Hi - Jeremy yes, not in qemu at least.
IMHO this is
a) a user configurable change (add user to kvm group) (so it isn't very high
severity)
b) a fix in older versions is limited to gnome-boxes which
It makes no sense to do (b) for qemu as it works without it just fine.
The latter changes I
Christian, are you saying that you don't intend to SRU a fix to Ubuntu
18.04 LTS?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
User is not added to kvm group when installing
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
The user logged in in Cosmic and later should get uaccess set on /dev/kvm
getfacl /dev/kvm
after login should show that.
That is from udev/systemd and should therefore handle permissions correctly
even without qemu installed in recent Ubuntu versions.
I'd keep older versions as-is as changing
Thanks Jeb.
With that in place, but no other confirmation on the PPA I think this is good
for now.
I still pinged on my MP to Debian for consideration but the bug as reported
here is incomplete for now (no clear action that we have to take for now).
** Changed in: qemu (Ubuntu)
Status:
I can confirm Gnome Boxes (gnome-boxes) works properly again in Ubuntu 18.10
x64.
Gnome Boxes version 3.30.2-0dc83a95 from dl.flathub.org.
** Changed in: qemu (Ubuntu)
Status: Incomplete => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Christian, get Flathub for Ubuntu and install the Flathub/Flatpak version of
Boxes.
https://flathub.org/home
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
User is not added to kvm
Suggested also to Debian via [1], but there the situation might be
different (?polkit?).
[1]: https://salsa.debian.org/qemu-team/qemu/merge_requests/2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
To be clear I'm waiting on a confirm that this (PPA above) is of benefit before
pushing any further.
Setting this bug to incomplete to reflect this.
Note: as a side project I'd want to make libvirt error reporting on the similar
case (need user relogon to be able to access) a bit nicer and
Could somebody give the PPA at [1] a try if that would achive what a
gnome-boxes user would need?
Because if not - e.g. for the re-login then it might not be worth the
upload.
[1]: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3417
--
You received this bug notification because
Thanks Christian for looking into this. Maybe GNOME Boxes itself could
suggest that users log out then log back in. There's this bug which asks
Boxes to be more helpful in cases like this:
https://gitlab.gnome.org/GNOME/gnome-boxes/issues/225
--
You received this bug notification because you
Thanks for the Ack Mdeslaur, Diff would be like:
--- a/debian/qemu-system-common.postinst
+++ b/debian/qemu-system-common.postinst
@@ -9,6 +9,11 @@ if [ "$1" = configure ] ; then
fi
fi
+# Add each sudo user to the kvm
+for u in $(getent group sudo | sed -e "s/^.*://" -e "s/,/ /g"); do
+
ACK from the security team, adding the sudo user to the kvm group is
acceptable as we already to basically the same with the libvirtd group.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
I found the actual issue, thanks for all your feedback.
I was mistakenly KVM membership for libvirtd membership.
So what happens is the following:
1. gnome-boxes depends on libvirt-daemon, but not libvirt-daemon-system
The latter would contain the system integration with services and users
One more important thing to mention - even if we change the postinst to add you
to group KVM.
Especially for desktop users (harder to re-login) you might still be affected
by the current login context not directly getting the new group membership "to
be effective" and therefore requiring a new
I've just installed gnome boxes into a virtual machine and checked by
groups both before and after, and I'm not a member of the kvm group,
despite being in the sudo group.
I can't do much more testing right now, but from my understanding of the
issue when I raised it about 6 months ago, my guess
It would usually add users that are part of the sudo group to the KVM group.
Are you a member of the sudo group or are we facing an issue that this logic is
nor more working?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Also affects: qemu (Ubuntu)
Importance: Undecided
Status: New
** Changed in: qemu (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
** Changed in: gnome-boxes (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
User is not added to kvm group when installing gnome-boxes
To
** Tags added: cosmic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
User is not added to kvm group when installing gnome-boxes
To manage notifications about this bug go to:
** Tags added: bionic
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
User is not added to kvm group when installing gnome-boxes
To manage notifications about this bug go to:
This actually affected me after the upgrade to Bionic. It was working before
that.
Adding myself to the kvm group has Gnome Boxes working again.
For those who are still "terminal leery" you can add the "Users and Groups" app
from the Software store for a GUI approach. Open it and find the kvm
Might be the answer to this bug:
https://bugs.launchpad.net/ubuntu/+source/gnome-boxes/+bug/1759806
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
User is not added to kvm group when
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gnome-boxes (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767302
Title:
28 matches
Mail list logo