Hi Chris, Chris Marusich <cmmarus...@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’.