summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-15 16:16:43 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-15 23:57:01 +0200
commit64720891ae7edc33f963651c5ba2509513b1849a (patch)
treefb97579723e0a9228e472de072d58446b4c624b5 /gnu
parent43c33047da55f8974682e66112ce131fa4c3f088 (diff)
downloadguix-64720891ae7edc33f963651c5ba2509513b1849a.tar.gz
system: Make /dev/kvm 660.
* gnu/services/base.scm (kvm-udev-rule): Change /dev/kvm mode to 0660 as a
  followup to the resolution of <http://bugs.gnu.org/18994>.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/base.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index d5744204d9..e9e69ea2b8 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -739,11 +739,11 @@ item of @var{packages}."
                         (call-with-output-file
                             (string-append rules.d "/90-kvm.rules")
                           (lambda (port)
-                            ;; FIXME: As a workaround for
-                            ;; <http://bugs.gnu.org/18994>, make /dev/kvm 666
-                            ;; instead of 660.
+                            ;; Build users are part of the "kvm" group, so we
+                            ;; can fearlessly make /dev/kvm 660 (see
+                            ;; <http://bugs.gnu.org/18994>, for background.)
                             (display "\
-KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0666\"\n" port))))
+KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0660\"\n" port))))
                     #:modules '((guix build utils))))
 
 (define* (udev-service #:key (udev eudev) (rules '()))