unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: “guix pack -RR” and ignored environment variables
Date: Wed, 24 Feb 2021 15:18:30 +0100	[thread overview]
Message-ID: <875z2hczwp.fsf@elephly.net> (raw)
In-Reply-To: <87wnuz9480.fsf@gnu.org>


Hi,

Ludovic Courtès <ludo@gnu.org> writes:

> $ unshare -mrf

Indeed, with this command instead of “guix environment --container”
everything works as expected.

Thanks!

> My guess is that the container you created contains some store items,
> such as the bash that appears in shebang.  Relocatable wrappers don’t do
> the namespace/proot/fakechroot dance when the original binary in the
> store exists, and instead they executed it directly.  But in your case,
> since you have an incomplete store, you’re maybe running bash from the
> store (thus without store mappings), and somehow things go wrong
> somewhere down the road?…

This seems to be the case.  It’s probably not a big deal, but I do
wonder if we could make packs work just as well on Guix System as on any
other system.  It’s not really that important because Guix System has
Guix and thus no real need for deployment with “guix pack”, but still…

-- 
Ricardo


      reply	other threads:[~2021-02-24 14:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-22 15:18 “guix pack -RR” and ignored environment variables Ricardo Wurmus
2021-02-22 21:34 ` Ludovic Courtès
2021-02-24 14:18   ` Ricardo Wurmus [this message]

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=875z2hczwp.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.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).