From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-devel-bounces+larch=yhetil.org@gnu.org>
Received: from mp10.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id 4IvxMwZxOGNvtQAAbAwnHQ
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 01 Oct 2022 18:55:34 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp10.migadu.com with LMTPS
	id sOz9MgZxOGMsVAAAG6o9tA
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sat, 01 Oct 2022 18:55:34 +0200
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 85D5AFE61
	for <larch@yhetil.org>; Sat,  1 Oct 2022 18:55:34 +0200 (CEST)
Received: from localhost ([::1]:37226 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-devel-bounces+larch=yhetil.org@gnu.org>)
	id 1oefm0-0002UL-Po
	for larch@yhetil.org; Sat, 01 Oct 2022 12:55:33 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54510)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>) id 1oefl9-0002SA-Rw
 for guix-devel@gnu.org; Sat, 01 Oct 2022 12:54:39 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36222)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1oefl0-0001wG-3H; Sat, 01 Oct 2022 12:54:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=O/IQ4s/iTJ8jqesHt76Ykjengnq0+V+YVS6HrTgSWXc=; b=iK5B7Py12VorEC14atZa
 agwxW66QPDkf034BAkxs+/WumWmowhq1WeTqCEu3ri80HQ7f/d+EAItKkbpdJV0C1voE78rxeT+Xd
 Nc9/3or4+pZJXOpSfvL/5jL3YMdcuxnAHRYJ3LwkvONdIbZBtDAGaj0Gg+Rh5zg7hm+hgUfAhUzXz
 /fhaSmVFXU7d5LNnk12uc3TLVpnSyk7jKZWm76iOCPPHDIlC7rEsZYdMs46JSxc4/n8KwuZX7jNMX
 17qui9sLVzHyEXd+dORI6KDcuIKdkOpUULYpmYYtc2OCDqx9BFZLykcuSE9HPzfa35pt/3VP0/AiM
 XEverc41BqeGSQ==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55188
 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1oefkz-0006W6-7A; Sat, 01 Oct 2022 12:54:29 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <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?
References: <2284386.8hzESeGDPO@bastet>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 10 =?utf-8?Q?Vend=C3=A9miair?=
 =?utf-8?Q?e?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de
 la Cuve
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sat, 01 Oct 2022 18:54:27 +0200
In-Reply-To: <2284386.8hzESeGDPO@bastet> (Philip McGrath's message of "Sun, 18
 Sep 2022 20:13:44 -0400")
Message-ID: <87fsg7cwn0.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-BeenThere: guix-devel@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Development of GNU Guix and the GNU System distribution."
 <guix-devel.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-devel>
List-Post: <mailto:guix-devel@gnu.org>
List-Help: <mailto:guix-devel-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-devel>,
 <mailto:guix-devel-request@gnu.org?subject=subscribe>
Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-devel" <guix-devel-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1664643334;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references:list-id:list-help:
	 list-unsubscribe:list-subscribe:list-post:dkim-signature;
	bh=O/IQ4s/iTJ8jqesHt76Ykjengnq0+V+YVS6HrTgSWXc=;
	b=iUuis2V9s09/4vb697LxMcHlnEj2F6NXAZHr0uQqRwitFzKroFUu+jFgvJwPoU8BSKLjjX
	4Dn9tUhpQTEQzbtCujMXLjPPGeUvH5cfFQpskJm1zkOOaBViWWyHj2/gkmUpBM2mIqftPZ
	H+vGk6rxrqXsnzw6auluY0qX3fem3VFQnzSylC+nu4EWnQDBPMeM6nMwFkPYTgnvPkIe0r
	CGQJTrwPEwbJfMTArX6XsLtY1eh3MDgI3x/2PYpM0lbOPnP1+9UVHCONS7kqPhPiHFpl+7
	xsX6oRxx5Ig0XqSSxgz3hDxWCeh8/N+JNJfmHTh3JXAC58LSXQ9wCSrpjbaUfg==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664643334; a=rsa-sha256; cv=none;
	b=bPatwlf5hxgqD6L5ufvR7e0OPhMaRPCyrwRYln6yMc9dSDjNHKAji4jV7wh/HP2MQtN7yp
	nigTIHbFg3zCb5DdW6kli2mf/g1ow6+bDfdliZ9Odp0s0fZ13G9hrY2sEkqDqz55GUBQ15
	hmzGUkfR5h3GYnsSEU0Q1NtOwMs9p0vEJTMqoweSIkmGC8fySNXI10JaUVYdqxbkxEJgyI
	AmguvAxYCnEA8lxmwRqKdNY3EWGFuiuH5e1S/EndYoCTnx3m+jqQeVPZRu88PP1ROw6i6w
	Mng3AfV7vmCy7xJ3lVYu7KNQDj8+PjLLzjMLBybr5ykx9TO6RjNu7iwthx4a8w==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=iK5B7Py1;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -1.04
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=iK5B7Py1;
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 85D5AFE61
X-Spam-Score: -1.04
X-Migadu-Scanner: scn1.migadu.com
X-TUID: jITsat3r+sCo

Hello!

Philip McGrath <philip@philipmcgrath.com> skribis:

> 1) If we want to continue to hard-code a specific shell into Glibc, I thi=
nk we=20
> should document the decision (for example, why 'bash-static' vs. 'bash-
> minimal'?) [=E2=80=A6]

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

> 2) If we want to make 'sh' a weak/dynamic reference, I think we should=20
> strongly consider arranging to make it available at '/bin/sh' when presen=
t. I=20
> expect this option would require less patching of other packages *by far*=
 than=20
> 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=E2=80=99s acceptabl=
e:
we=E2=80=99re talking about a handful of packages.

WDYT?

Ludo=E2=80=99.