[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: system: Make /dev/kvm 660.
From: |
Ludovic Courtès |
Subject: |
02/06: system: Make /dev/kvm 660. |
Date: |
Wed, 15 Jul 2015 21:57:52 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 64720891ae7edc33f963651c5ba2509513b1849a
Author: Ludovic Courtès <address@hidden>
Date: Wed Jul 15 16:16:43 2015 +0200
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>.
---
gnu/services/base.scm | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index d574420..e9e69ea 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 '()))
- branch master updated (b76c415 -> 68e88a0), Ludovic Courtès, 2015/07/15
- 05/06: size: Gracefully handle EPIPE., Ludovic Courtès, 2015/07/15
- 06/06: gnu: Update livestreamer to 1.12.2., Ludovic Courtès, 2015/07/15
- 04/06: ui: Add 'leave-on-EPIPE'., Ludovic Courtès, 2015/07/15
- 01/06: doc: Reinstate bit about creating build accounts., Ludovic Courtès, 2015/07/15
- 02/06: system: Make /dev/kvm 660.,
Ludovic Courtès <=
- 03/06: Add 'guix-daemon.service' file for systemd., Ludovic Courtès, 2015/07/15