all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Philip McGrath <philip@philipmcgrath.com>
Cc: guix <guix-devel@gnu.org>,  Maxime Devos <maximedevos@telenet.be>,
	Liliana Marie Prikler <liliana.prikler@gmail.com>,
	 Liliana Marie Prikler <liliana.prikler@ist.tugraz.at>
Subject: Re: What 'sh' should 'system' use?
Date: Sat, 01 Oct 2022 18:54:27 +0200	[thread overview]
Message-ID: <87fsg7cwn0.fsf@gnu.org> (raw)
In-Reply-To: <2284386.8hzESeGDPO@bastet> (Philip McGrath's message of "Sun, 18 Sep 2022 20:13:44 -0400")

Hello!

Philip McGrath <philip@philipmcgrath.com> skribis:

> 1) If we want to continue to hard-code a specific shell into Glibc, I think we 
> should document the decision (for example, why 'bash-static' vs. 'bash-
> minimal'?) […]

The choice of ‘bash-static’ rather than ‘bash-minimal’ is motivated by
the fact that, in (gnu packages commencement), we want to make sure
‘glibc-final’ does not retain references to its build-time environment.
See #:allowed-references in ‘glibc-final’.

> 2) If we want to make 'sh' a weak/dynamic reference, I think we should 
> strongly consider arranging to make it available at '/bin/sh' when present. I 
> expect this option would require less patching of other packages *by far* than 
> any other approach.

This is not a viable option because build containers lack /bin/sh.

Overall, I think the current situation is a reasonable tradeoff.  It
forces us to do some patching, indeed, but I think that’s acceptable:
we’re talking about a handful of packages.

WDYT?

Ludo’.


  parent reply	other threads:[~2022-10-01 16:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-19  0:13 What 'sh' should 'system' use? Philip McGrath
2022-09-19  7:07 ` Liliana Marie Prikler
2022-09-26  8:07   ` Philip McGrath
2022-09-26 10:04     ` Liliana Marie Prikler
2022-09-19 12:55 ` Maxime Devos
2022-09-26  7:04   ` Philip McGrath
2022-09-26  9:41     ` Liliana Marie Prikler
2022-09-26 12:24     ` Maxime Devos
2022-10-01 16:54 ` Ludovic Courtès [this message]
2022-10-15 23:23   ` Philip McGrath
2022-10-16  7:04     ` Liliana Marie Prikler
2022-10-16  7:56       ` Philip McGrath
2022-10-16  8:23         ` Liliana Marie Prikler
2022-10-19 15:30     ` 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

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

  git send-email \
    --in-reply-to=87fsg7cwn0.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=liliana.prikler@gmail.com \
    --cc=liliana.prikler@ist.tugraz.at \
    --cc=maximedevos@telenet.be \
    --cc=philip@philipmcgrath.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.