GNU bug report logs - #56007
[PATCH] gnu: lxd: Add ‘attr’ to inputs and use it in wrapper.

Previous Next

Package: guix-patches;

Reported by: Brian Cully <bjc <at> spork.org>

Date: Thu, 16 Jun 2022 03:56:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Brian Cully <bjc <at> spork.org>
To: 56007 <at> debbugs.gnu.org
Cc: Brian Cully <bjc <at> spork.org>
Subject: [bug#56007] [PATCH] gnu: lxd: Add ‘attr’ to inputs and use it in wrapper.
Date: Wed, 15 Jun 2022 23:54:07 -0400
Fixes issue with lxd crashing on startup with:

  Error: exec: "setfattr": executable file not found in $PATH
---
 gnu/packages/virtualization.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 @@ (define-public lxd
                             '()
                             '("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 @@ (define-public lxd
        ("libcap" ,libcap)
        ("lxc" ,lxc)
        ;; Run-time dependencies.
+       ("attr" ,attr)
        ("bash" ,bash-minimal)
        ("rsync" ,rsync)
        ("tar" ,tar)
-- 
2.36.1





This bug report was last modified 2 years and 334 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.