guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/05: services: libvirtd: Provide ip binary at runtime.


From: guix-commits
Subject: 05/05: services: libvirtd: Provide ip binary at runtime.
Date: Tue, 5 Nov 2019 09:13:27 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 2dfb9ba4069aa9d9a39935ef43cc09fabe9dbe4d
Author: Miguel Ángel Arruga Vivas <address@hidden>
Date:   Sun Oct 27 03:59:23 2019 +0100

    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 <address@hidden>
---
 gnu/services/virtualization.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm
index bc8ac9b..2cd4e5e 100644
--- a/gnu/services/virtualization.scm
+++ b/gnu/services/virtualization.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]