[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-10-03 Thread Chris Halse Rogers
** Changed in: kvm (Ubuntu) Status: In Progress = Fix Released -- kvm: access to /dev/kvm should have a different group-ownership https://bugs.launchpad.net/bugs/127704 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. --

Re: [Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Andreas John
hm, without digging deeper into the theme, I assume you cannot nice or schedule the KVM machine, as it is implemented in the kernel. So I would add a CPU-consumption DoS, as kernel-mode execution has high prio. And, as things like scanner and audio have own groups, it makes sense to give a

Re: [Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Gabriel Ambuehl
On Monday 24 September 2007 11:05:57 Andreas John wrote: hm, without digging deeper into the theme, I assume you cannot nice or schedule the KVM machine, as it is implemented in the kernel. So I would add a CPU-consumption DoS, as kernel-mode execution has high prio. And, as things like

[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Scott James Remnant
Ubuntu policy is that assigning of custom groups to device nodes should be done by rules shipped with the package that creates that group, in this case KVM. ** Changed in: udev (Ubuntu) Status: Confirmed = Invalid -- kvm: access to /dev/kvm should have a different group-ownership

Re: [Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Andreas John
Hello Scott, then why did you change the bug report to invalid? The only thing that needs to be corrected is, replaung the patch with a own udev rule file. Everything else discussed here, is absolutely correct. The title of the bugs reads: access to /dev/kvm should have a different

[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Scott James Remnant
As I noted, the udev portion is invalid because it is not Ubuntu policy to apply custom groups in the udev package; this should be done in the kvm package -- and you'll note that task in the bug is left confirmed -- kvm: access to /dev/kvm should have a different group-ownership

Re: [Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Andreas John
Well, this bug ( #127704 ) is a bug filed to the kvm package, not the udev package. So it's still the right place. Only the patch is invalid, which is no problem: As one of the foreposters noted, there already was such a udev rule file, provided by the kvm package. So we should simply look

Re: [Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Andreas John
In the old (feisty) package I found in kvm_16-1ubuntu2.diff: --- kvm-16.orig/debian/kvm.udev +++ kvm-16/debian/kvm.udev @@ -0,0 +1 @@ +KERNEL==kvm, NAME=%k, GROUP=kvm, MODE=0660 That patche the orig. sources and inserts the udev rule file via .deb package. Indeed a nice apprioach, until now I

Re: [Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Gabriel Ambuehl
On Monday 24 September 2007 16:09:55 Andreas John wrote: I hope, this will be accepted again. Couldnt one simply create a /etc/udev/rules.d/XX-kvm-rules -- kvm: access to /dev/kvm should have a different group-ownership https://bugs.launchpad.net/bugs/127704 You received this bug notification

Re: [Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Andreas John
Gabriel Ambuehl schrieb: On Monday 24 September 2007 16:09:55 Andreas John wrote: I hope, this will be accepted again. Couldnt one simply create a /etc/udev/rules.d/XX-kvm-rules I already mailed the diff, that is needed to create a udev rule within the kvm package. Scott please re-confirm

[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-24 Thread Chris Halse Rogers
I'll re-add the udev rule to Gutsy's KVM package. ** Changed in: kvm (Ubuntu) Status: Confirmed = In Progress -- kvm: access to /dev/kvm should have a different group-ownership https://bugs.launchpad.net/bugs/127704 You received this bug notification because you are a member of Ubuntu

[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-23 Thread Anthony Liguori
The only harm in allowing normal users to access /dev/kvm is a potential memory DoS until guest swapping is implemented. I suggest that a special group be made until that feature is implemented. -- kvm: access to /dev/kvm should have a different group-ownership

[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-06 Thread Chris Halse Rogers
This is already done by the kvm package, and has been for some time (In the file /etc/udev/rules.d/50-kvm.rules). How did you install KVM? I wonder why your kvm device is not getting the correct permissions. ** Changed in: kvm (Ubuntu) Importance: Undecided = Low Assignee: (unassigned)

Re: [Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-09-06 Thread Gabriel Ambuehl
I installed KVM by executing $ sudo aptitude install kvm i.e. plain vanilla package. -- kvm: access to /dev/kvm should have a different group-ownership https://bugs.launchpad.net/bugs/127704 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for

[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-08-17 Thread Gabriel Ambuehl
This would be a rather useful change. Right now only root can use kvm, which is sort of besides the point. -- kvm: access to /dev/kvm should have a different group-ownership https://bugs.launchpad.net/bugs/127704 You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-08-17 Thread Gabriel Ambuehl
Also affects gutsy. ** Changed in: udev (Ubuntu) Status: New = Confirmed -- kvm: access to /dev/kvm should have a different group-ownership https://bugs.launchpad.net/bugs/127704 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for

[Bug 127704] Re: kvm: access to /dev/kvm should have a different group-ownership

2007-08-03 Thread Stefano Rivera
** Also affects: udev (Ubuntu) Importance: Undecided Status: New ** Tags added: patch -- kvm: access to /dev/kvm should have a different group-ownership https://bugs.launchpad.net/bugs/127704 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug