[qemu-kvm] add vhost-net to kvm group udev rules 65-kvm.rules

Bug #891625 reported by Alon Bar-Lev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qemu (Ubuntu)
Expired
Wishlist
Unassigned

Bug Description

Please consider authorizing the kvm group to access vhost-net device, similar to the kvm device.
Thanks!

Tags: patch
Revision history for this message
Alon Bar-Lev (alon-barlev) wrote :
Revision history for this message
Michael Tokarev (mjt+launchpad-tls) wrote :

I wonder if it really belongs to kvm group, -- maybe a separate "vhost_net" group should be used instead. Yes it can only be used with qemu/kvm currently, but maybe some other tool will use it in the future, and looking at how many security issues /dev/kvm access had, maybe vhost_net shold be restricted more...

How other distributions are doing this? I'm not sure we want to introduce our own naming here...

Revision history for this message
Alon Bar-Lev (alon-barlev) wrote : Re: [Bug 891625] Re: [qemu-kvm] add vhost-net to kvm group udev rules 65-kvm.rules

Well, at Gentoo we have kvm group, and I think that this comes from
upstream rule.
Doing vhost_net is good, anything that may be assigned to regular users.
Thanks!

Revision history for this message
Thomas Huth (th-huth) wrote :

Since there is no udev file in upstream QEMU, I guess this bug was meant for the qemu Ubuntu package instead?

affects: qemu → qemu (Ubuntu)
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "udef.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Mathew Hodson (mhodson)
Changed in qemu (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

I'm not sure if it would be appropriate to make this change, but it is clear what you're requesting so I'm setting the bug status to Triaged.

Changed in qemu (Ubuntu):
status: New → Triaged
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
I'm currently parsing through bug that are dormant way too long.

These days the content still exists, but is in debian/qemu-system-common.udev

But vhost-net is working fine without that change, so I wonder what it was back then that failed without that - so that we can verify if that actually is an issue today.

Until then setting incomplete.

Changed in qemu (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qemu (Ubuntu) because there has been no activity for 60 days.]

Changed in qemu (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.