From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id kCSyNHlDKWbzRAEAe85BDQ:P1 (envelope-from ) for ; Wed, 24 Apr 2024 19:38:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id kCSyNHlDKWbzRAEAe85BDQ (envelope-from ) for ; Wed, 24 Apr 2024 19:38:02 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=miGfKHTz; dkim=pass header.d=wolfsden.cz header.s=mail header.b=mV4O4ft4; dmarc=pass (policy=none) header.from=wolfsden.cz; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713980281; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=I1jPu8H0/my2+Lx86MUFHvq9muIc3pezyMIVYngU0hw=; b=ULUl3/eqlo0h4gAo8ewQ3yUZVkTAeU61LtClPd3TwyDHhq6pUCE5gXQ21GfVE3XLVHQ2TE 9VPDzaNwt4O6wdcXkX9IhDEeNuRoPokpfP/1rr3rmTxoqwj1z7f/RekKOm/8mWpYB+V5Zo JoRK1DtofD2JogyyKq/TxejGdCd7ywmPbM/bAhPLmSXQgXLgJgccYO2/FfTkEeh6kQ/FIZ H8STIZnJfkx57vuTeAroRPOvMBF1YZkl7fngzLmkABATq8FfJ1U4JksA6LKICr2Them1V0 8nFhZnA8l2+0UZTwTtmo2gtmGl/8HaJxPCCPR/zWNNjCOkv6oJCrlS5lRskTDg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=wolfsden.cz header.s=mail header.b=miGfKHTz; dkim=pass header.d=wolfsden.cz header.s=mail header.b=mV4O4ft4; dmarc=pass (policy=none) header.from=wolfsden.cz; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713980281; a=rsa-sha256; cv=none; b=AEXqVZ5LFOdruLGkzJGPwPigsRsXpB6HRfdZ2cbmyv6Ed11DUOmPpRhJ6JETXA4zD6RgtY T7jgoufskhgqqhwG3H+Bb/9QizjsyMWSFxrRxOU+4EUUWbhzTs9t6Anpzk5BPz9SsMKxkI ifwbUB2BduOhOSpPsBJBe/golESS44ptQPtiz3XmTYi1gG1lbI/92l836pyKFyRDSqUPX5 pawe0K1UxUi2Y4uAgCR7hQI/qQktqIzJVIkCm6p99VNjIr/lm4U/LpBraUrA5N58tEFeMe SwImPeT59O0JU7R9WwWNl0S9Ao1ztBW5r/pQnyFUBkxUgKw4KZpSv757omVolw== 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 BFA74FA4D for ; Wed, 24 Apr 2024 19:38:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzgYm-0000a4-LD; Wed, 24 Apr 2024 13:37:33 -0400 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 <~@wolfsden.cz>) id 1rzgYk-0000ZY-49 for help-guix@gnu.org; Wed, 24 Apr 2024 13:37:30 -0400 Received: from wolfsden.cz ([37.205.8.62]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <~@wolfsden.cz>) id 1rzgYh-0003hJ-PW for help-guix@gnu.org; Wed, 24 Apr 2024 13:37:29 -0400 Received: by wolfsden.cz (Postfix, from userid 104) id 44B1228C568; Wed, 24 Apr 2024 17:37:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1713980243; bh=I1jPu8H0/my2+Lx86MUFHvq9muIc3pezyMIVYngU0hw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=miGfKHTzzc8CWCbeFt/MPpCSiKzYKZhjISZG2IgdX1biIb7Ok77DIAhf1y+FEqfiA yX9gvgkNXBmXU+OwZhwY3a5uxB5kowNMsl8QjGfKDj4xoATDavz7BkkQgiYjawQla3 Pb3Ic137YHrxOtPUyNa3b9tgCPVJbbAF6ZwyDescYpT3L2+blTHRaQ+OoDcwR+BkfU JA4+wJ+8/eAKcwQOeXTwoSjUDH8u6Pruyjh4tlMgdZtUGvZO5jYDuV2a5gxL9iuYOi tTPaWOm0Uibj8kwJsOfik0SRc9n7We1rx3Hh6MYOAAWQ/p004vaS9moaLSRWlddUFP nV6jdL01ukeohBNK/2lR+ig0CwSyGbur6vVRIxAMOJKdK0sI5UKA2ltDXvJEztFT4Y kIGK5kAXxyrXsIBXWPfsGwTlJ05fM4mVn4lH3cpAPBXTZEMX5TUbS9NUZ0g4kKucq7 P2IVbgfItnwo3VaNGFzduK5Qj1u7bXj1cvQ70tz8zEAUA0nTzdKVEaKCsJxtUeudT8 QB2mHK0DTT+jPJg08uNRc8DpG6XV8ll82rm7qWQyIgm+JErDXLNE3HP8X/HeLaEVaa n7VqQkB0tAeYsi1cIKM5tnc3K1a2Wafdb46VdETxanevrwpIbLAHJgSqnycgadyCqr wMNO/7ZVwEZn9BB0puLf4ELM= Received: from localhost (unknown [193.32.127.159]) by wolfsden.cz (Postfix) with ESMTPSA id CCD2B28CDC9; Wed, 24 Apr 2024 17:37:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1713980242; bh=I1jPu8H0/my2+Lx86MUFHvq9muIc3pezyMIVYngU0hw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=mV4O4ft48FYqe7PezuoLbzeICUvPwg0GeN8pPM9Q5m4GnkBXu2/xsKrHWWd/XyTgr ErMhNUjr2mX1eG+v2tmc8Zl3i/A7c2Q2mQtjKSdNb0E16nLojyauexuf5DECHz4YhE YC7PcymV1CD7XvFSM/nT0EGlpT9DXeKRODZUFtRHvCzqip5DMcNePncNjtVZb4+BsO KEpGTN4hx+cuF48G4UZyKSUXe3s5QyitwzFZNZmCtABLV/cjp6bCjqZqkNCDhG0DuO +l2s6busxfGBZLWpteDppGYtZn9b0erlPEhuGVyMSbU3iYnufREbEPi+QD9EkIbWnR xdYx3Ot8gNdDmSb9R2vNzhY9RBJJRHy3PBgDIrTh2QMj/s5t1JrP8x0jpVHn+c0lxx yL5GQc4PdNxN/HKOjSPB4GPiXAsci0UPw9lEdDtK2/RdFKxKEZrhTx/0sBgpPdVmuc 6f4GA0X2oK9fulEilvTN6Wo7svIeTQXQFQJtmdGlOAj58TuuOdOZfW7h4h5jVp3Wfg xF4lOXYLGl4496AqrRV1qVjetD5sM4omysKpAibInyvPzHAiDwJdBhkJga/OR5qeoQ 2rlRFeT2gXIeXPM76Zzo7J/IhnjZFUAmdj2CulP5wgHlo+9eYDET/86UxB7VdHKFkP ycDEdbpRfTsj5Vtehs+8T5eQ= Date: Wed, 24 Apr 2024 19:37:21 +0200 From: Tomas Volf <~@wolfsden.cz> To: Emmanuel Medernach Cc: help-guix@gnu.org Subject: Re: How to share profile among machines ? Message-ID: Mail-Followup-To: Emmanuel Medernach , help-guix@gnu.org References: <91ae443f-7dda-4486-bb58-fdc57dea6e38@iphc.cnrs.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6XCvdl6Vm+KcqwiM" Content-Disposition: inline In-Reply-To: <91ae443f-7dda-4486-bb58-fdc57dea6e38@iphc.cnrs.fr> Received-SPF: pass client-ip=37.205.8.62; envelope-from=~@wolfsden.cz; helo=wolfsden.cz 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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.60 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -10.60 X-Migadu-Queue-Id: BFA74FA4D X-TUID: 32ANOJEzZyFC --6XCvdl6Vm+KcqwiM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2024-04-24 16:54:19 +0200, Emmanuel Medernach wrote: > Hello Guix ! > > How do you share profiles among machines ? For instance 2 users wants to > have the same profile, user A shares the directory /gnu/store/...-profile= to > user B, user B either get access to it directly or from a remote machine > with a=A0 "guix copy ", user B could now use this profile like t= his: > > =A0export GUIX_PROFILE=3D"/gnu/store/...-profile" > =A0source "$GUIX_PROFILE/etc/profile" > > But there is a problem: this profile is not listed with > > =A0guix package --list-profiles > =A0guix gc --list-roots > > The problem is that if user A deletes this profile it gets garbage collec= ted > even if user B still needs to use it. > > So the question is: How user B could add an existing /gnu/store/...-profi= le > (either existing directory or obtained from a guix copy) to the profile a= nd > root list ? I think you can just create a symlinks in the /var/guix/profiles/per-user/B= for the profile and in the /var/guix/gcroots/profiles/per-user/B for the gc roo= ts. I *think* this should work? Tomas -- There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --6XCvdl6Vm+KcqwiM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmYpQ1EACgkQL7/ufbZ/ wakt9w/9HTpeOdMbU8g7LS+/K04RbMNOSDNL4hXwzfMVjI9FDP2TJ20CGNz3jRpF WEegfhO6iwtCZVBt3jgUNAAbSIw8jE2Dmns2zg33WVxbdFENn7GnXKcQFHpAfF5w TQoo5FrfBxOLiVCAetngw1s+cYLcwGtsgytS0VuW2Jv0VZvjOIj0LEfQqrbYXTV+ 03puLfBvf+wLtPrsE/HwZF7XUja8x3zRit165C3/GjhVHWlHYNjSuACo786dUjsY 4NFyyJTflODmXh3C0yVTFd8+6T/N4x281kodxlZnGqSvaBjyFTOXGPaU2Ut2XGDR 6OqQi1bIcpSmOtxpy4zPSciA45dZXXgtzJFqOmHqMqxMkW7xJ5ee+3a6WooYOn05 H4+No6hKVoTGaK6LXtTopDMAnpAxF/+TTaf+Wa5t9MI6Ztnl/ZfZ0vHgz/Pjp/Tw qEduvIdE11CGFMrDMIWBK7BX7NolbrLXM3z6/aHkZ9bLMcHgi9O0xwnGMbPsT7ve +upjW6Cv2QhYbgDuZ+9RiCO1M+SZMfyLCs/kjBbZcmZgptuW6Pxmr6fRB+XUsH3h rIC6byAGzHSSsa2vwhOs0vMNvyvv+Yfl+qPnyZQM8+151CZ/NJGaYx1p1PZaNldC oIBkaYWYKCsKxnMnkztbuIT0Y4GEDvlWrNJh6YcG9RVM+ovq5AQ= =etFk -----END PGP SIGNATURE----- --6XCvdl6Vm+KcqwiM--