From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gGy7JaVemWCaPgEAgWs5BA (envelope-from ) for ; Mon, 10 May 2021 18:26:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EIVOIaVemWBiEgAAbx9fmQ (envelope-from ) for ; Mon, 10 May 2021 16:26:13 +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 4A1C525DE1 for ; Mon, 10 May 2021 18:26:13 +0200 (CEST) Received: from localhost ([::1]:56244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lg8jU-0007uM-DE for larch@yhetil.org; Mon, 10 May 2021 12:26:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg8jJ-0007qX-JS for guix-devel@gnu.org; Mon, 10 May 2021 12:26:01 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lg8jH-0005uU-Sm; Mon, 10 May 2021 12:26:01 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1620663954; cv=none; d=zohomail.com; s=zohoarc; b=I9VBf7wL3Y+eLKZ89+ESWmfCku0h/wOV6SUVMk1oY8u8Az6UrCjJ91qMnfsEKuGUBY3AcB3/TFbmyS1zzP8QKJfsi3mkbMLKAWPYuytO9cd1Ulz5e4S7fjDk6LSbgBxcsks/JIgtW/1SW79zqQ9VXHBumXR88HALOA7c1c5Ea0A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620663954; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=vH9xRQlTy6V3x7TL0hMEqle9FGsvUgY/FKULBx4EkH8=; b=N/G4Mzc83YzInV2mSvopPhbxTy18hVySUZZdHq1PoEVHiZQpOXlnlhVKX5/sDcLVRMJQ13BDYsfOM4vj0gMNjgXHbLV67E6a+2QYj3oxuU8MuofBLO9t5+cooYC6TAqTatieVksu9yvs7Jttg1UhaoVyye2PcC4mcgxBQx+Rmk4= 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=1620663954; 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=vH9xRQlTy6V3x7TL0hMEqle9FGsvUgY/FKULBx4EkH8=; b=HRe+x2EcLktD0LsTCPTTnvR8aB+Eh+o4cT/NEn7bAd1MGCQcA3LAYsWAy0PT3KJZ pOtkdOkdfo1veVnNc1Y0UJeV/9jYGMIuGjEdXUSokxZF0cSry4F1Sre+iDXzEIbm67h dAai8PL/a0adqiUIGFqsf861n6W0jT1bhqABVkKo= Received: from localhost (p54ad4f8b.dip0.t-ipconnect.de [84.173.79.139]) by mx.zohomail.com with SMTPS id 162066379104490.64092149079215; Mon, 10 May 2021 09:23:11 -0700 (PDT) References: <87im3qq57z.fsf@elephly.net> <3795a0268fd5e90b6e1bac171bca97693d8a721d.camel@gnu.org> <87a6p2pzok.fsf@elephly.net> <7c642c5ca7a0986e6877cdefb6b1f872942f03ba.camel@gnu.org> User-agent: mu4e 1.4.15; emacs 27.2 From: Ricardo Wurmus To: Roel Janssen Subject: Re: =?utf-8?B?4oCcZ3VpeCBnY+KAnSw=?= auto gcroots, cluster deployments In-reply-to: <7c642c5ca7a0986e6877cdefb6b1f872942f03ba.camel@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: Mon, 10 May 2021 18:23:08 +0200 Message-ID: <87y2cmo8wj.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed 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 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1620663973; 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=vH9xRQlTy6V3x7TL0hMEqle9FGsvUgY/FKULBx4EkH8=; b=Mre+pvt/usXzCcw7pkgDzeImfonfCzXzw6aLNTB7+Rt3/DgS3gtzujIcfUxUA/L9oaYD5A WpELRLRh1LPvrE+AGSpqOZrxGizxdIitvP+NFfZ1qwzHwfhb0CkVc34Bs7ZeoBv8H0cwHd DzQd8BpwN6iH/Ne7b/0/vc4t9CRqMWhm0zUB0502oOH/QaPlJ8y+Eo2hQWyqLGqgOCm8sj gncWS+yOSXXRQ2RHzBVRSIfSeKAsxIPq3Zl0wD2uHB6gDCfYBkJtcQpn8ZBPvoXWSr2X5v VFGhkPf5cy/vVm0KXvXbZkaH6KMcx+snbNXgZ/D+2ka3Eza1IlBe0XaeE5JC3Q== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1620663973; a=rsa-sha256; cv=pass; b=OD3Vzl6SQCXj5RU5a2Q9co8ul/j3VwfRhRgMV7bJyWRsrtHdnsPBGbTI8AhOckUcL2TB1k LPoqvZBnKfoAq4mwF4wSZnMdiBQqP/gDX4lUBoiD1DWFqJOXP6k5bY4pqYQbY4C0hIG9MN 9a/+VKuWxppu5Psa1eUyLQkIn4z8urHb6jCW8TkiDqoaJKPtEqsJ/qZFodWm2DRtxQUT/V 223l2CyBMPvcidJyEZiiLbmYsb0BCVEBTGyOvqR3Ifb9m8k6IBi5ePbUdXBeIKYMjVpnkx aY8FtEP6IKCVFcpfF3S2/BpDQbYn+zu4DXyTqsA8v5qPAeRLn1duEo96tH4KZQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=HRe+x2Ec; 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-Spam-Score: -3.65 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=HRe+x2Ec; 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: 4A1C525DE1 X-Spam-Score: -3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: PppmWALlTl49 Hi Roel, > Maybe I'm making things needlessly complex, but I would really=20 > like a > solution that can be applied to an existing cluster setup. :) Oh, I=E2=80=99d also like something automated that works for an existing=20 cluster setup (like mine that prompted this conversation), but in=20 my imagination this does not involve users running commands that=20 would become part of the permanent Guix command line footprint. Instead I imagine a sysadmin would have enough privileges to=20 impersonate the users and rewrite the links for them. Full automation is not possible in my case anyway, because I can=E2=80=99t= =20 necessarily tell who owns the target file (it=E2=80=99s not just user home= =20 directories but also some other obscurely named shared=20 directories), nor can I figure out automatically on which server=20 the link was created (when I see a link like =E2=80=9C/local/foo/bar=E2=80= =9D,=20 which is a server-local directory that is not exported on any=20 other system). Even though the two of us seem to agree that this change is=20 necessary, it does result in a regression: for systems where none=20 of this is a problem (e.g. single-user laptops) it=E2=80=99s rather=20 inconvenient to have all these temporary gcroots accumulate.=20 Prior to my proposed change they would be freed up for garbage=20 collection as soon as the link was removed. (I also wonder if the implementation of =E2=80=9Cguix gc=20 --delete-generations=E2=80=9D would need adjusting; I haven=E2=80=99t looke= d yet.) Is there something we can do to have our cake and eat it too? --=20 Ricardo