mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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>.
This commit is contained in:
parent
43c33047da
commit
64720891ae
1 changed files with 4 additions and 4 deletions
|
@ -739,11 +739,11 @@ (define rules.d
|
|||
(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 '()))
|
||||
|
|
Loading…
Reference in a new issue