summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBrian Cully <bjc@spork.org>2022-06-15 23:54:07 -0400
committerLudovic Courtès <ludo@gnu.org>2022-06-19 23:14:56 +0200
commitdbe221a89ac369c1d0f7679acb20544e08357413 (patch)
tree203c312fe05e23025948bc9760f83d125b34cffb /gnu/packages
parentd5a9f2a404479c92b109dd14eb6fc597abc11aff (diff)
downloadguix-dbe221a89ac369c1d0f7679acb20544e08357413.tar.gz
gnu: lxd: Add ‘attr’ to inputs and use it in wrapper.
Fixes issue with lxd crashing on startup with:

  Error: exec: "setfattr": executable file not found in $PATH

* gnu/packages/virtualization.scm (lxd)[arguments]: In 'install' phase,
add "attr" to the list of packages used in 'wrap-program'.
[inputs]: Add ATTR.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/virtualization.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index a7e1ccd6ca..015c291ec3 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1221,7 +1221,7 @@ It started as a side project of LXC but can be used by any run-time.")
                             '()
                             '("bash" "acl" "rsync" "tar" "xz" "btrfs-progs"
                               "gzip" "dnsmasq" "squashfs-tools" "iproute2"
-                              "criu" "iptables"))))
+                              "criu" "iptables" "attr"))))
                  ;; Remove unwanted binaries.
                  (for-each (lambda (prog)
                              (delete-file (string-append bin-dir prog)))
@@ -1247,6 +1247,7 @@ It started as a side project of LXC but can be used by any run-time.")
        ("libcap" ,libcap)
        ("lxc" ,lxc)
        ;; Run-time dependencies.
+       ("attr" ,attr)
        ("bash" ,bash-minimal)
        ("rsync" ,rsync)
        ("tar" ,tar)