Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453376 - app-emulation/qemu-1.1.2-r2 permission denied due to missing group kvm and permissions on /dev/kvm
Summary: app-emulation/qemu-1.1.2-r2 permission denied due to missing group kvm and pe...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-21 17:30 UTC by Jan Matějka (RETIRED)
Modified: 2013-01-22 00:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Matějka (RETIRED) gentoo-dev 2013-01-21 17:30:52 UTC
Wrong permissions on /dev/kvm after installation of qemu

Reproducible: Always

Actual Results:  
kvm@deathstar ~ $ qemu-kvm 
Could not access KVM kernel module: Permission denied
failed to initialize KVM: Permission denied
No accelerator found!
root@deathstar # ls -l /dev/kvm 
crw------- 1 root root 10, 232 Dec 17 18:09 /dev/kvm


Expected Results:  
kvm@deathstar ~ $ qemu-kvm                                                                                                              
VNC server running on `::1:5900'
root@deathstar # ls -l /dev/kvm                                                                                                         
crw-rw---- 1 root kvm 10, 232 Dec 17 18:09 /dev/kvm
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2013-01-21 20:36:44 UTC
You need to run udevadm trigger && udevadm settle, this can not be reliably run by the ebuild and there's an einfo to run this.
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2013-01-21 20:36:59 UTC
Either way, I recommend going to 1.2.2-r2.
Comment 3 Jan Matějka (RETIRED) gentoo-dev 2013-01-22 00:05:55 UTC
(In reply to comment #1)
> there's an einfo to run this.

I don't think so ...

# grep udevadm qemu-1.1.2-r2.ebuild  | wc -l
0