From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EKnRH2jsmmAMZQEAgWs5BA (envelope-from ) for ; Tue, 11 May 2021 22:43:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 6NeIG2jsmmDcPwAA1q6Kng (envelope-from ) for ; Tue, 11 May 2021 20:43:20 +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 130101AB2A for ; Tue, 11 May 2021 22:43:19 +0200 (CEST) Received: from localhost ([::1]:55158 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgZDr-0005vt-56 for larch@yhetil.org; Tue, 11 May 2021 16:43:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgZDZ-0005v0-JS for guix-devel@gnu.org; Tue, 11 May 2021 16:43:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37676) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgZDZ-0005tO-5J; Tue, 11 May 2021 16:43:01 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=33158 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgZDY-0002Wa-QA; Tue, 11 May 2021 16:43:00 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Ricardo Wurmus Subject: Re: =?utf-8?B?4oCcZ3VpeCBnY+KAnSw=?= auto gcroots, cluster deployments References: <87im3qq57z.fsf@elephly.net> <3795a0268fd5e90b6e1bac171bca97693d8a721d.camel@gnu.org> <87a6p2pzok.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?utf-8?Q?Flor=C3=A9al?= an 229 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= 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: Tue, 11 May 2021 22:42:59 +0200 In-Reply-To: <87a6p2pzok.fsf@elephly.net> (Ricardo Wurmus's message of "Mon, 10 May 2021 13:59:23 +0200") Message-ID: <878s4lvw6k.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620765800; 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; bh=QOsfDxQ4Gsm6AoeCPCoGE9oxJIioqDEzzp0c+eDoG2E=; b=cxYX8VPkT6OswCYyU4/dUZJ8Vyik/mocWSZzZKhB/5Ltd54FxK5C7YwMKTaMle+FlHi7mv ZFwnGMlceEsSgcCz4lVzcG8zn0dZuVFGzB5KTh6RKPqwATWkURS+9ScT9NXDinOVDjO3gi 5o2vUyR2/fsbL+yqbsOM9/ZA4ImMbW2aYnzq3LnuuKw/2sW7U05SNKYlNJFPyN7sn69Hpr rmYrAfF3bk7T1OB15kp7KAYMPK69MAfY3rFDmQpNGssuDtLiuIrOdITedt2zcL5zCpVnqF 29XrR8DnIiSoy/hUkOkEhzV4TOg3rHgJbsX5HOaQvebgb5VKzciTzc+gCDhaxA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620765800; a=rsa-sha256; cv=none; b=RJPB7sPw4Hnnipi/MItIfo5AENcrzaXva/cRkyN5njO4LxiZ62aHlUD+qS9Y0cGtECoxxJ eFnfeIJqWSCtiYSNuwaNlqKXVGaaJqHtzaT7dnAW69eAUkN1GDtVSrqgO1pnoADUrbZqMU +uDKzjHfgwJcCPrkDcBpoUp8JGwTPcazQuNAW8ulIVuGp8Qd1l1NZQ2OH/3yhCiw+kQuO3 pb13tx/rtKAB870y6OoXTjpwMGbzUp8KuFyMpu3l/E8AOYExvBhpWRS3ATOSKhzcoY8DUz cju16rOeeQxYeuNE11VMsvZDBB94U1eK/Ikxuq1YJ0lkTzqb4WQ5ftW8KT+5DA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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-Spam-Score: -2.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 130101AB2A X-Spam-Score: -2.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: ybYYGfQSiusj Hello! Ricardo Wurmus skribis: >> Would it be possible to add an option to retrospectively apply this >> transformation? Maybe that could work somewhat like this: >> >> $ ls -lha >> ... /home/me/projects/mrg1_chipseq/.guix-profile-1-link -> >> /gnu/store/ap0vrfxjdj57iqdapg8q83l4f7aylqzm-profile > > This wouldn=E2=80=99t work, because we can=E2=80=99t read > /home/me/projects/mrg1_chipseq/.guix-profile-1-link centrally. In=20 > this particular case only the user =E2=80=9Cme=E2=80=9D could resolve the= link and > thus migrate the link. (I would do this semi-manually by=20 > impersonating the users to read their links.) > > ~ ~ ~ > > Another related problem I found is that the names of the links in > unreadable space may have names that only make sense on the system=20 > where they were created. For example, on the server =E2=80=9Cbeast=E2=80= =9D we may > mount the cluster home directory as =E2=80=9C/clusterhome/me=E2=80=9D, wh= ereas on > cluster nodes it would be mounted as =E2=80=9C/home/me=E2=80=9D. When I = have Guix > record a gcroot while working on =E2=80=9Cbeast=E2=80=9D I would get a li= nk that is no > longer valid when I work on the cluster. To me these are =E2=80=9Cdocumented limitations=E2=80=9D. User home direct= ories must be visible to the head node where guix-daemon runs, or GC won=E2=80=99t see al= l the roots. It seems hard to avoid. Though an admin could decide that only ~/.guix-profile matters, and in that case the head node only needs to be able to access /var/guix/profiles (a restriction that may be acceptable in practice: users need to restrict themselves to ~/.guix-profile and =E2=80=98guix environment=E2=80=99). But yeah, I agree these are gotchas and it=E2=80=99s easy for a cluster adm= in to shoot themself in the foot. Thoughts? Ludo=E2=80=99.