aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-11-08 15:09:43 +0100
committerLudovic Courtès <ludo@gnu.org>2014-11-08 15:10:42 +0100
commit421c3bcc1b77360ad57b10c5d6b5da5b4d739182 (patch)
tree543322c1c4cb6f466866ac6dd438346a448837f9 /gnu/services
parent99ae9ceb18fe5cf37878e68d2f25df31b3becd69 (diff)
downloadgnu-guix-421c3bcc1b77360ad57b10c5d6b5da5b4d739182.tar
gnu-guix-421c3bcc1b77360ad57b10c5d6b5da5b4d739182.tar.gz
services: udev: Make /dev/kvm 666 as a workaround.
* gnu/services/base.scm (kvm-udev-rule): Change /dev/kvm mode to 666 to work around <http://bugs.gnu.org/18994>.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/base.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 49bf0c3660..abf8ae99ac 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -542,8 +542,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.
(display "\
-KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0660\"\n" port))))
+KERNEL==\"kvm\", GROUP=\"kvm\", MODE=\"0666\"\n" port))))
#:modules '((guix build utils))))
(define* (udev-service #:key (udev eudev) (rules '()))