[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: services: hurd-vm: Add childhurd user to kvm grou
From: |
guix-commits |
Subject: |
branch master updated: services: hurd-vm: Add childhurd user to kvm group. |
Date: |
Wed, 30 Sep 2020 06:32:03 -0400 |
This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 04a459a services: hurd-vm: Add childhurd user to kvm group.
04a459a is described below
commit 04a459a069155a6b676b6b93d7dbddb426dd0679
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Sep 30 07:53:35 2020 +0200
services: hurd-vm: Add childhurd user to kvm group.
This is a follow-up to commit d692ebf98077d6b651d426aba92bf2a38599c4dc.
* gnu/services/virtualization.scm (%hurd-vm-accounts)[supplementary-groups]:
Add ’kvm’.
* gnu/services/virtualization.scm (hurd-vm-shepherd-service): Use #:group
"kvm"
---
gnu/services/virtualization.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index 539e4fa..79d88f2 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -974,7 +974,9 @@ is added to the OS specified in CONFIG."
#~(lambda ()
(let ((pid (fork+exec-command #$vm-command
#:user "childhurd"
- #:group "childhurd"
+ ;; XXX TODO: use "childhurd" after
+ ;; updating Shepherd
+ #:group "kvm"
#:environment-variables
;; QEMU tries to write to /var/tmp
;; by default.
@@ -1005,6 +1007,7 @@ is added to the OS specified in CONFIG."
(user-account
(name "childhurd")
(group "childhurd")
+ (supplementary-groups '("kvm"))
(comment "Privilege separation user for the childhurd")
(home-directory "/var/empty")
(shell (file-append shadow "/sbin/nologin"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: services: hurd-vm: Add childhurd user to kvm group.,
guix-commits <=