GNU bug report logs -
#36335
Is /dev/kvm missing ACLs?
Previous Next
Full log
View this message in rfc822 format
Hi Chris,
Chris Marusich <cmmarusich <at> gmail.com> skribis:
> I was trying to run some VMs via "guix system vm", and I noticed that
> I didn't have permission to use KVM. This issue can be worked around by
> running qemu as root, or by adding yourself to the "kvm" group.
> However, I found it curious that the /dev/kvm device didn't have ACLs
> granting me access:
>
> $ getfacl /dev/kvm
> getfacl: Removing leading '/' from absolute path names
> # file: dev/kvm
> # owner: root
> # group: kvm
> user::rw-
> group::rw-
> other::---
>
>
> Is it expected that on Guix System, /dev/kvm does not by default receive
> ACLs granting me access?
Guix System doesn’t use ACLs at all.
However, the udev rule for kvm sets it up like this:
crw-rw---- 1 root kvm 10, 232 Jun 24 08:38 /dev/kvm
and the build users are part of the ‘kvm’ group. I personally arrange
to have my user account in that group too.
Thanks,
Ludo’.
This bug report was last modified 5 years and 338 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.