From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id jvDwDFVgNmA/NwAA0tVLHw (envelope-from ) for ; Wed, 24 Feb 2021 14:19:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id ECBjCFVgNmA+VwAAB5/wlQ (envelope-from ) for ; Wed, 24 Feb 2021 14:19:01 +0000 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 AE0D912CEE for ; Wed, 24 Feb 2021 15:19:00 +0100 (CET) Received: from localhost ([::1]:54438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEv0F-0005GC-Bc for larch@yhetil.org; Wed, 24 Feb 2021 09:18:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEv06-0005Fs-IC for guix-devel@gnu.org; Wed, 24 Feb 2021 09:18:50 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEv01-0007p8-1r; Wed, 24 Feb 2021 09:18:50 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1614176315; cv=none; d=zohomail.com; s=zohoarc; b=ckgAOOoRnWmK5mPICoQqupCzvccHGF3sfHlMleRrQ7+Hdj1gtrel27K4AxocevelU51D0efzJHlUaGtGbgqB/2SWkGYVf0J06k6WlyemBJed3xvVcxcfo6MnrIPJbfVTz6Utdg95U07p7OiYuwu4ulYOh0LtgT/PvAbYa32fI24= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1614176315; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=C2nlvW8riJoP5LWDpc0CSifJfZhSaoDZGlbjnJrjqpc=; b=cJfPd6WQnkHYEpbVnWHa/IT9KNWKcuBdRA2vYH2C38oqfYrK8sR0y93oVjadwHfmCprWdlOSfdGvwtq2f1JPEJI0G05ZxE60uKYkq8eJWm+sSiNaGsLqbXzkNHsjRhZXEJSlh2IvHe6e8hdIDsNXgkHlmhIg10QyEc4I40MNjYg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1614176315; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=C2nlvW8riJoP5LWDpc0CSifJfZhSaoDZGlbjnJrjqpc=; b=NyJZC5dDoPC2S9vsg+gRFi8lt6AzFn2nRoS8V7DO929dnQ6Zv9k+6iBwkYg/lEGR 8AnAM3IRHj3cGg2QbbfOt7LODx356FQURwaehX2dpEM5pArYQpwrFTTZkTEo1heLuIK b2lDz/k7K55KfJtFY1u1nyTUACJkPDG5t2UP1iqA= Received: from localhost (p54ad4c70.dip0.t-ipconnect.de [84.173.76.112]) by mx.zohomail.com with SMTPS id 1614176313778404.3311435107512; Wed, 24 Feb 2021 06:18:33 -0800 (PST) References: <87tuq4ku6n.fsf@elephly.net> <87wnuz9480.fsf@gnu.org> User-agent: mu4e 1.4.14; emacs 27.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: =?utf-8?Q?=E2=80=9Cguix?= pack =?utf-8?Q?-RR=E2=80=9D?= and ignored environment variables In-reply-to: <87wnuz9480.fsf@gnu.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Wed, 24 Feb 2021 15:18:30 +0100 Message-ID: <875z2hczwp.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.57 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=NyJZC5dD; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: AE0D912CEE X-Spam-Score: -3.57 X-Migadu-Scanner: scn0.migadu.com X-TUID: q9mxxHYBIMZx Hi, Ludovic Court=C3=A8s writes: > $ unshare -mrf Indeed, with this command instead of =E2=80=9Cguix environment --container= =E2=80=9D 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=E2=80= =99t 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=E2=80=99re maybe running bash fro= m the > store (thus without store mappings), and somehow things go wrong > somewhere down the road?=E2=80=A6 This seems to be the case. It=E2=80=99s 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=E2=80=99s not really that important because Guix System h= as Guix and thus no real need for deployment with =E2=80=9Cguix pack=E2=80=9D,= but still=E2=80=A6 --=20 Ricardo