me
/
guix
Archived
1
0
Fork 0

services: libvirtd: Provide ip binary at runtime.

* gnu/services/virtualization.scm (libvirt-shepherd-service): Add sbin to
the PATH variable, as ip binary is installed there.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Miguel Ángel Arruga Vivas 2019-10-27 03:59:23 +01:00 committed by Ludovic Courtès
parent 845bf4f477
commit 2dfb9ba406
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 2 deletions

View File

@ -433,9 +433,11 @@ potential infinite waits blocking libvirt."))
(start #~(make-forkexec-constructor
(list (string-append #$libvirt "/sbin/libvirtd")
"-f" #$config-file)
;; For finding qemu and ip binaries.
#:environment-variables
;; For finding qemu binaries.
'("PATH=/run/current-system/profile/bin")))
(list (string-append
"PATH=/run/current-system/profile/bin:"
"/run/current-system/profile/sbin"))))
(stop #~(make-kill-destructor))))))
(define libvirt-service-type