services: libvirtd: Use '/run/current-system/profile/bin' as PATH.
This is a followup to ef640db2f5
.
* gnu/services/virtualization.scm (libvirt-shepherd-service): Set
'#:environment-variables' for 'make-forkexec-constructor'.
This commit is contained in:
parent
ae9b6dba19
commit
5df412bfe6
|
@ -432,7 +432,10 @@ potential infinite waits blocking libvirt."))
|
|||
(provision '(libvirtd))
|
||||
(start #~(make-forkexec-constructor
|
||||
(list (string-append #$libvirt "/sbin/libvirtd")
|
||||
"-f" #$config-file)))
|
||||
"-f" #$config-file)
|
||||
#:environment-variables
|
||||
;; For finding qemu binaries.
|
||||
'("PATH=/run/current-system/profile/bin")))
|
||||
(stop #~(make-kill-destructor))))))
|
||||
|
||||
(define libvirt-service-type
|
||||
|
|
Loading…
Reference in New Issue