From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sDKPCxRbe2UxmAAAkFu2QA (envelope-from ) for ; Thu, 14 Dec 2023 20:44:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id cF7fBhRbe2VkVQAA62LTzQ (envelope-from ) for ; Thu, 14 Dec 2023 20:44:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mdc-berlin.de header.s=mdc header.b="b uR8A9C"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=mdc-berlin.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702583059; 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=696faM8ixdMghhWG6kI5uANsQkA7WNQMbxYGHOAdqgM=; b=gBm7yVjlFAx7S1MFmCgwrc+bOMXtT6HPWFn2Tm2dgEnNbWP64wXTnlZ2V9q/SVRSFrtTK7 Oaj2wgzTCEuF3EIdo5cy5tBiJc8wC//BnyO35ne1smDh5gGr5C86nHRzWmGIh3PfOTDi5/ sZovE9zcfTqytNBzflFFa+YZjhcPstCg8NlJQCiUYyweO6rN0WtobOjDIZMp306rBdDdRa bRrIFXPe1RMI8inhEUQqEFckk7MZYSQmm9TRuCqmj/hERFyjUTbPPpjgXSCvbyCpvWK7F6 Kg+T013gzbiG0kacMY0rdrAETexZVPARiF72wQ6TW1x6duOdcPxZHTvQ1ay+8Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702583059; a=rsa-sha256; cv=none; b=GIQ62rseooJp/ETY8i9jxmKrPDw4DzG31odEWcmiR1VpIYrecX4lXGFYr0Zjl+o+AsTIY5 jC484tfLIzhzwCr3Jhtnoxl9CHTkVXu1zy2NfF+HeT+mOMlWxNCdhFctSlgE85J6ZbNfsy a+iF0P/XcwHkpvUbnLecqKrVT8FwK2GT4G4YOmj4R+X/7I3kncaDNFtlr7Jdn0QynjcEwm ak12trTXTWRzHZJHA5Iju5m5G8o72h0vDjHwAYYHmVBwkKnDtLGauNuH4PUnvFG/vy1dMF mTR9lEF9LYWykk9FP1wGIXra5jEuLbtAUsNkLoPwtzfoUsQqrFNU/Hs26BgBmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mdc-berlin.de header.s=mdc header.b="b uR8A9C"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=mdc-berlin.de 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 CA850438C4 for ; Thu, 14 Dec 2023 20:44:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rDrcg-0002QQ-2E; Thu, 14 Dec 2023 14:43:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDrcd-0002Q5-0D; Thu, 14 Dec 2023 14:43:51 -0500 Received: from b2062.mx.srv.dfn.de ([194.95.234.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rDrcY-00027f-Gl; Thu, 14 Dec 2023 14:43:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:in-reply-to:date:date:subject:subject:from:from :user-agent:references:received; s=mdc; t=1702583020; x= 1704397421; bh=YGZQStenQex2Yk0dueyy/HIyWC4mWD81SsV8U+NWc1U=; b=b uR8A9C4KL8Z7ArfxW0Bm7MgsacXk1e0wH1JAyLA+82W8H/HNtoKbU70vKsZBPbpM 9a14LNg/XUCb5L65q8nQi9cYkH1qcwmTxGUNBVgwnHH34fWUB0IbEPRcwKhYf+3E 3p3okJkZDGOi5YZZn77LCaFM1lJeaRlSX7yHwQujNM= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by b2062.mx.srv.dfn.de (Postfix) with ESMTPS id 318A416015F; Thu, 14 Dec 2023 20:43:39 +0100 (CET) Received: from localhost (94.134.44.209) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.28; Thu, 14 Dec 2023 20:43:38 +0100 References: <87pm00mxkg.fsf@lease-up.com> <87plz8alhc.fsf@mdc-berlin.de> User-agent: mu4e 1.10.8; emacs 29.1 From: Ricardo Wurmus To: "Etienne B. Roesch" CC: Felix Lechner , , Subject: Re: [ext] Re: guix on nfs based systems Date: Thu, 14 Dec 2023 20:35:25 +0100 In-Reply-To: Message-ID: <874jgk8t91.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [94.134.44.209] X-ClientProxiedBy: SW-IT-P-EX6.mdc-berlin.net (141.80.113.56) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.1006-28058.001 X-TM-AS-Result: No-10--4.674800-5.000000 X-TMASE-MatchedRID: fE0JoqABJp04HKI/yaqRm9+pUF0HsjxRwdP+8YXeAckvfU/riSJXkRzu L4P52bGM1BeZXA658h0mupo8uESIT/lSjKUmNTEIC8FMH3T6F76ZmLDnd2pI38wHSQ+yXjTDS48 IjXi9YDmqt0lGde+cdtIpYu1WXcO2frwSmTdybpwqIkSpQVZGCMXSSNhWWhyheHdGAjh0nPDUe/ oM6FCt4m5HQ7JbVbbNiwIgM+5XriDmL3YrCG4rg/d23bssfyGcGyikCU4z9OqD3ZNKmxTI2/tN2 vjEPERNdkyho0WkAXiYQofPliJiVLKcEIYSkNihl5lQMzKmF9L59dMSAT0uHhvyqjs0BspO38bH k6Pl8X290igsQ32uTXFPfPg/y6tEOPv7attIMsV5IZ0CvIkzzOuLFZZYlisfv1l2Uvx6idoWeMp VNhsMwMRB0bsfrpPI34T9cYMsdwyg1FZGuylwgkUGpBuK3jgyEV3iXQRj65SEvRlVZa0G45DvxX N3/4X7zO8HuQxfmjc5d/AN4Ocmpu68iqboiXf13KkgZkd6+yAP8SJnCqH9YGXbG4DW38gLKk9QA icp1i/1q9NPVpN/dxpeoCcJ3+rq X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.674800-5.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.1006-28058.001 X-TM-SNTS-SMTP: 65C832A9A01FCEBC1543B6D8DAAA7E3D08A53F72767A143A71E4E4FAD5443E632000:F Received-SPF: pass client-ip=194.95.234.172; envelope-from=Ricardo.Wurmus@mdc-berlin.de; helo=b2062.mx.srv.dfn.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -10.61 X-Spam-Score: -10.61 X-Migadu-Queue-Id: CA850438C4 X-Migadu-Scanner: mx11.migadu.com X-TUID: j8+b/NnosKN+ Hi Etienne, > I think we've arrived at the limit of how I understand the daemon to work= , and GUIX_DAEMON_SOCKET. I think I understand that you > are using a single node (hpc of sort I imagine), where users create sessi= ons, and within which you provide the guix command, having > set up GUIX_DAEMON_SOCKET to a unix-domain socket (to that same node / it= self). That makes total sense in the context of the single > node. Did I get that right? No, we provide Guix on *all* cluster nodes and workstations, but they all talk to a single guix-daemon, which is the sole manager of /gnu. We provide a default Guix for all those who haven=E2=80=99t yet run =E2=80=9Cg= uix pull=E2=80=9D at /gnu/remote/bin/guix. That location is on the PATH on all machines. This script does three things: - it sets GUIX_DAEMON_SOCKET to http://guix-node:9999 - it removes =E2=80=9Cgc=E2=80=9D from the arguments and prints a warning (= this is not enough to prevent GC, but it works well enough) - it looks for the user=E2=80=99s =E2=80=9Cguix=E2=80=9D in /home/who/.conf= ig/guix/current/bin; if it exists it execs that =E2=80=9Cguix=E2=80=9D with the arguments; oth= erwise it executes the shared default Guix. > The issue with profiles you are mentioning is interesting; I haven't > quite thought it through yet. I think I would personally want users to > be able to create profiles (for reproducibility reasons) but I guess > it would work the same way with guix shells built from manifests, > maybe slightly less easy to interact with, I don't know. In my experience, profiles always end up growing in a stateful manner. People use them to satisfy old habits of installing, removing, and upgrading packages, and inevitably they run into conflicts because they install new packages to a profile built with an older version of Guix. Yes, using manifests would avoid that, but if you=E2=80=99re already using manifests you might as well use =E2=80=9Cguix shell -m=E2=80=9D. For long-= term reproducibility we recommend recording the current channels with =E2=80=9Cg= uix describe -f channels=E2=80=9D and add the output to version control. With =E2=80=9Cguix time-machine -C channels.scm -- shell -m manifest.scm=E2= =80=9D people can restore the environment in the future. --=20 Ricardo Wurmus System administrator BIMSB - Scientific Bioinformatics Platform Max Delbrueck Center for Molecular Medicine email: ricardo.wurmus@mdc-berlin.de tel: +49 30 9406 1796