From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iN38Af0zVmXjFwAA9RJhRA:P1 (envelope-from ) for ; Thu, 16 Nov 2023 16:23:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iN38Af0zVmXjFwAA9RJhRA (envelope-from ) for ; Thu, 16 Nov 2023 16:23:41 +0100 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 DADBE59112 for ; Thu, 16 Nov 2023 16:23:40 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=cOpZVMC9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700148220; 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=RpKegSA6XHwTu+8Ehp0PFnt2J+rf7zZdFhHgheLQpe4=; b=cDIXEaLVLgdCYUDnflMbJOYADsnpnSp5MhMdWYSaSg8xgHDDiORrKwzTEzLvMJTjKX9ZYg iosySrNQRZjd+zcwd5kJaVuwjmX7yK/2n0nbUGVBAFOEQ4ZsVeKJESNkuk1soTJJ3RZk9Y yJpx/DaUfqeWlfhflba1w4rOcAyUhqeDf2F7XKIr+HQeNzMYw4RsXH5FV8lVWHswwnMw8C 5W/HjsRqvWtl5agzjDAj93cX1ugafiLpbzqlW2qRr6zMkH3I87eCAe+Icn7pku+wkcRiA5 JapwhmhJoWdXnVV2yqkPq656d8oWF+gJd/F0M/AXpfTt/7aLO1QptTISOc7LNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=cOpZVMC9; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700148220; a=rsa-sha256; cv=none; b=MnzYDD/kqL+EMEa1pyP+NCu7BWsTLU+NDa0MYNkgCgebyxOpJtfTy1Zj935pulO53Z1e0k x1XbKTb+JXWo0ISHHZrZMFUcByl800KsFcChtqxk/5DYEttrUg3ek7B8b8WTSQ2af1rNGl P5UxGsTjivm0/xO+TmFz/qDrEb51GZblEQhFpV9aWqYKT9RZJsyDgYfOtd4aX8EfJjwLt+ ehtCngMNBYIU4t9oFMkGXNVjDZcZZiOMdjeIyV5z+xnGBtHIomOCNXKr+9tUuMQhiUjyM6 buvKCZrG4rvwH4SJS2JNp0lQSajhWEVhvr1Cw/H9wJUxW5cdrWt3eBh0Sf6PIg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3eCz-00028C-4J; Thu, 16 Nov 2023 10:23:09 -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 1r3eCx-00027l-1d for guix-devel@gnu.org; Thu, 16 Nov 2023 10:23:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3eCt-0003Gs-FU; Thu, 16 Nov 2023 10:23:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=RpKegSA6XHwTu+8Ehp0PFnt2J+rf7zZdFhHgheLQpe4=; b=cOpZVMC98t4t7jtnKM8F sGtYrRkGNYxlb6n31yXe4brKuB4U3cx0hU8y7/ZSNHOPLLJqzPEuLJasZjp5NiOF3+LxswYitlTqi 3wNbJ5TR42M2uCFhPX+TpzeRzrA0p/5zlwFXV72rC/l3K8/nfeUUVpm14gs56B0YyyPU15KqOpMfM RrE1/bBdxq4jWNK8aoIDKm7GpWiRdCObqEeavgcVi5iZYAtQo47rarL2/8La0ynxIiZ/j9zOX98cK /lMmpIXyg+VdOo7vk1w1hYaWro71RcvvhsMP5Mp9SXWLtPRh90w5XQ3XMHwNf7PG19NdHeK1dMwHG gBbVlm9mK6J2jg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Cc: Felix Lechner , Ricardo Wurmus , guix-devel@gnu.org Subject: Re: Better support remote deployment In-Reply-To: <87fs1ggvlt.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 08 Nov 2023 09:36:46 -0500") References: <87sf5pu06o.fsf@elephly.net> <87v8adidqp.fsf@gmail.com> <87zfzp2vph.fsf@elephly.net> <87fs1hhu1v.fsf@gmail.com> <874jhx9de3.fsf@lease-up.com> <87fs1ggvlt.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 26 Brumaire an 232 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Pistache 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: Thu, 16 Nov 2023 16:23:00 +0100 Message-ID: <87y1exu3hn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.32 X-Spam-Score: -9.32 X-Migadu-Queue-Id: DADBE59112 X-Migadu-Scanner: mx10.migadu.com X-TUID: m8o7IjKwsbdY Hi, Maxim Cournoyer skribis: > Felix Lechner writes: [...] >> How about a 'remote-user-profile'? > > 'guix package' is already the command we use to create profiles; maybe > it could accept a '--remote' argument to operate on a remote machine? > Or is this not what 'GUIX_DAEMON_SOCKET=3Dssh://your-target guix package > -m manifest.scm' can already accomplish? :-) Doing that confuses =E2=80=98guix package=E2=80=99 because it=E2=80=99d try= to perform the effectful part (switching symlinks) locally, even though everything was built on another machine. (It=E2=80=99s also slow due to RPC round trips, = as Efraim wrote.) But yeah, I think we could do something along these lines by isolating the effectful bits and evaluating them remotely when needed, like we did to achieve code sharing between =E2=80=98guix deploy=E2=80=99 and =E2=80=98= guix system reconfigure=E2=80=99. That said, I wonder if this would really be more convenient than SSH=E2=80= =99ing into the target machine and running the commands right there. Perhaps I=E2=80=99m missing something about the use case? Ludo=E2=80=99.