From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gNHMDk5iBWOfKQAAbAwnHQ (envelope-from ) for ; Wed, 24 Aug 2022 01:27:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id GJP7DU5iBWM2pQAAG6o9tA (envelope-from ) for ; Wed, 24 Aug 2022 01:27:10 +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 914653A959 for ; Wed, 24 Aug 2022 01:27:09 +0200 (CEST) Received: from localhost ([::1]:45326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQdIa-00026e-DR for larch@yhetil.org; Tue, 23 Aug 2022 19:27:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQdHW-00010Q-M0 for guix-patches@gnu.org; Tue, 23 Aug 2022 19:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55499) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQdHW-00047o-DQ for guix-patches@gnu.org; Tue, 23 Aug 2022 19:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQdHW-0005o3-0C for guix-patches@gnu.org; Tue, 23 Aug 2022 19:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57050] [PATCH v2 04/13] gnu: Add Zuo. Resent-From: "Philip McGrath" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 23 Aug 2022 23:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57050 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "Maxime Devos" , "Liliana Marie Prikler" , 57050@debbugs.gnu.org Cc: Liliana Marie Prikler , Efraim Flashner , Thiago Jung Bauermann Received: via spool by 57050-submit@debbugs.gnu.org id=B57050.166129714022292 (code B ref 57050); Tue, 23 Aug 2022 23:26:01 +0000 Received: (at 57050) by debbugs.gnu.org; 23 Aug 2022 23:25:40 +0000 Received: from localhost ([127.0.0.1]:45248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQdH9-0005nU-Qp for submit@debbugs.gnu.org; Tue, 23 Aug 2022 19:25:40 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQdH8-0005nE-6y for 57050@debbugs.gnu.org; Tue, 23 Aug 2022 19:25:39 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1227F5C01C5; Tue, 23 Aug 2022 19:25:31 -0400 (EDT) Received: from imap52 ([10.202.2.102]) by compute4.internal (MEProxy); Tue, 23 Aug 2022 19:25:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= philipmcgrath.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1661297131; x= 1661383531; bh=iegt7FrFkAmNtwc4m7UB7hlinhpAdeQzXHjcwcsUBQc=; b=N En3ZGxHVP/qaOXvMxZX4hTCz2auZxUXxxN7oF09WmO4k5o5OnxCKOfjREEhqeF+w yo2SAl/GyBdhNB/0gs2rfN/v3IGsVk2ZPEs7Px1wlaq5ksJdvvg4pEtomdYeEwoJ /hkxnSacE7fSvvi+cLEmnYOGBoEnBqliDDoEVSJjOqc6qwMqA1PlS4yFKcM0FUcQ BNL3Ghpsjvlx/OJZzvIjuy0DiBu7WcOfhQPukhoLSLKgYsWdKUFw55FV6z9ivkfq RUNzRe8+zOLkBXyaqLrwQAHykwJ7qXlkBaR5tWtlX08RNmEhUiAGqaV66iLuZqYQ 5YpZnw49Q3Z6mZeADKlgw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1661297131; x=1661383531; bh=iegt7FrFkAmNtwc4m7UB7hlinhpA deQzXHjcwcsUBQc=; b=IkRjFz7gm4d3X617/2c+aUdToOtQu/cTg1ZGNY4U7xkc OgSRpLNew+rgUbb5KmsipZcIU6uD8ClgeXJzc3BR6ypz3DqzweAdLKMnNZwQ9Jw0 sk3VQytOu5BgC0yPNpELaZGyl0DQ3EG9X8BMMS0tP8V1HvW0plX9rVXy/AqhB0E3 nNpZqsnD1AUzFcbC5STHagzgbe9eNmtcPAytZ81UFxGzlRBhl+SyNVF6MXjWgumP Rx6DbBkH0eHFW9lvAQp4Ywg408QWYgUpwR6WcYTSzFmRJEME0XFe7I3Wyap6ePpN FlW/Wpc4jSTczweTY/dGi371KFO5KyLwcLz8zs6wdA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdejtddgvddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedfrfhh ihhlihhpucfotgfirhgrthhhfdcuoehphhhilhhiphesphhhihhlihhpmhgtghhrrghthh drtghomheqnecuggftrfgrthhtvghrnhepvdejvdetfeeghfejleduieevleekfefhteeh jeevkeetffdvtddviedvgeeghfefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepphhhihhlihhpsehphhhilhhiphhmtghgrhgrthhhrdgtohhm X-ME-Proxy: Feedback-ID: i2b1146f3:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 00324C6008B; Tue, 23 Aug 2022 19:25:29 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-841-g7899e99a45-fm-20220811.002-g7899e99a Mime-Version: 1.0 Message-Id: <6115438b-5c46-46cf-9a58-5cf3d76e0e49@www.fastmail.com> In-Reply-To: <1292f8b6-8a95-0e1f-6a41-2122a3164bbe@telenet.be> References: <285372112d70bcb4011d6c085592787df4f57d44.1660215295.git.philip@philipmcgrath.com> <4ae7af77-4ab6-4642-8c2f-854adec719c5@www.fastmail.com> <923c0709-4fe9-5f02-06a1-196095f5199e@telenet.be> <1292f8b6-8a95-0e1f-6a41-2122a3164bbe@telenet.be> Date: Tue, 23 Aug 2022 19:24:57 -0400 From: "Philip McGrath" Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661297230; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=iegt7FrFkAmNtwc4m7UB7hlinhpAdeQzXHjcwcsUBQc=; b=uLU2mUNUpqtCPppb48yh0eH4xVQ0/pnnSIFBjuK9VwmIJ07O+mYW+49HN7s5cV+mmJkky7 DBREOuQWBFP8Y3MguhcmPDUAhBMJ7XMUHB3aURRzfhZy9H35HCCnxFpyIfrchgMZhmgDYa zWo/PiROd0suGneI5M1sw8tb6Ml89APSfv66Kcvrbr0p7LbAj7vKJ0ITDJuuDTN6hoP8TO z1SN6jtudBTD+9zo6GP19qd+MdwU949oAwIpkt4drHKewn1XFjnTDr9lVk2iW6o+e/wZlE cR4fpYWOZ6CGx8edpbbHo4aeh7BJg8+fp5FfQTzu2EbgRdmxu/v0eAuUyoLcwQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661297230; a=rsa-sha256; cv=none; b=icg1JNE0P3osEGhs/ZmA3ZS74ML3u3DI/p6adxSYV/+9s814Se74/V0G+PBQd0OIKDs/yn +ITb8e77RI0S8fsCcLY009/izrz7/Wbntp3YadChvoobCPZPXYBweSbohTlBZLiAk328jU GG2KtEm2jItybSTDkPaKDO/SPHTituIKHTR+m15dyOBvvrb8PSkvoss2KatvuhRbRmc1Vf WQeQbLnDwxcHsWJHgimHFhB4yLz7zbPJxe0iwxaGZNuKJz/ubVxPz8EwxNHAU6Udrbvq1U 3HUikBqmNiFbaNsmWokZ4iy6HSlxXeOfGDUHDeX0jGjW+Pa1wkMnWajmh7bL5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="N En3ZGx"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=IkRjFz7g; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=philipmcgrath.com header.s=fm1 header.b="N En3ZGx"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=IkRjFz7g; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 914653A959 X-Spam-Score: 3.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: ChKU88AfVUM2 On Tue, Aug 23, 2022, at 5:11 AM, Maxime Devos wrote: > On 23-08-2022 03:40, Philip McGrath wrote: > >> More generally, it seems questionable for our glibc to retain a store reference to Bash (let alone two). Wouldn't that prevent creating containers or packs without a shell present? > > glibc needs to retain a reference to a shell for the 'system' function > to work. > > I don't see what containers or packs have to do with anything, it's the > same for profiles in general. > Without involving Guix, it's possible to create a chroot, container, or various other kinds of environments where a shell is not present. Inside such an environment, the 'system' function "works" by returning 0 if the command is NULL, 127 otherwise. AFAICT, even when Guix creates a container or otherwise isolated environment, any program linking to glibc pulls along Bash. (Indeed, two different versions of Bash!) -Philip