unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Brian Cully via Guix-patches via <guix-patches@gnu.org>
To: 56007@debbugs.gnu.org
Cc: Brian Cully <bjc@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	[thread overview]
Message-ID: <1bda502e30333f03574eaf0ece31c419ec782221.1655351647.git.bjc@spork.org> (raw)

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





             reply	other threads:[~2022-06-16  3:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-16  3:54 Brian Cully via Guix-patches via [this message]
2022-06-19 21:04 ` bug#56007: [PATCH] gnu: lxd: Add ‘attr’ to inputs and use it in wrapper Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1bda502e30333f03574eaf0ece31c419ec782221.1655351647.git.bjc@spork.org \
    --to=guix-patches@gnu.org \
    --cc=56007@debbugs.gnu.org \
    --cc=bjc@spork.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).