aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/virtualization.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2019-08-28 20:49:40 +0800
committer宋文武 <iyzsong@member.fsf.org>2019-09-11 19:15:30 +0800
commitef640db2f509f51ebfe3a6a66ba837ef3103bbb7 (patch)
tree4babb2f3074eb78980202e235a1b882537760ac7 /gnu/services/virtualization.scm
parente135ef96868f8a50d2a5da536d4f693f577f4f80 (diff)
downloadguix-ef640db2f509f51ebfe3a6a66ba837ef3103bbb7.tar
guix-ef640db2f509f51ebfe3a6a66ba837ef3103bbb7.tar.gz
gnu: libvirt: Don't wrap with PATH.
This reverts commit 903e051a71467bc96a054c9b4ed89348fdae8977 to fix <https://bugs.gnu.org/31365>. The full path of the 'ip' command is already embedded, and we want to search 'qemu' in PATH. * gnu/packages/virtualization.scm (libvirt): Remove 'wrap-libvirtd phase. Add configure flags to run qemu as 'nobody:kvm'. * gnu/services/virtualization.scm (libvirt-service-type): Add 'qemu' to the system profile.
Diffstat (limited to 'gnu/services/virtualization.scm')
-rw-r--r--gnu/services/virtualization.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index 705ed84d06..03aedd326c 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -442,8 +442,10 @@ potential infinite waits blocking libvirt."))
(service-extension polkit-service-type
(compose list libvirt-configuration-libvirt))
(service-extension profile-service-type
- (compose list
- libvirt-configuration-libvirt))
+ (lambda (config)
+ (list
+ (libvirt-configuration-libvirt config)
+ qemu)))
(service-extension activation-service-type
%libvirt-activation)
(service-extension shepherd-root-service-type