From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uFWYMWYy02GZIAAAgWs5BA (envelope-from ) for ; Mon, 03 Jan 2022 18:29:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4C7gLmYy02ETOQEA9RJhRA (envelope-from ) for ; Mon, 03 Jan 2022 18:29:10 +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 53FB93EE1B for ; Mon, 3 Jan 2022 18:29:10 +0100 (CET) Received: from localhost ([::1]:44462 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4R8v-0003hZ-Fi for larch@yhetil.org; Mon, 03 Jan 2022 12:29:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4R8o-0003hQ-AU for bug-guix@gnu.org; Mon, 03 Jan 2022 12:29:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4R8o-0006QN-1a for bug-guix@gnu.org; Mon, 03 Jan 2022 12:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4R8n-00029e-Vz for bug-guix@gnu.org; Mon, 03 Jan 2022 12:29:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#39366: guix offload sometimes can use ~/.ssh/config, sometimes not Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Jan 2022 17:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39366 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 39366-submit@debbugs.gnu.org id=B39366.16412309198244 (code B ref 39366); Mon, 03 Jan 2022 17:29:01 +0000 Received: (at 39366) by debbugs.gnu.org; 3 Jan 2022 17:28:39 +0000 Received: from localhost ([127.0.0.1]:36119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4R8R-00028t-G9 for submit@debbugs.gnu.org; Mon, 03 Jan 2022 12:28:39 -0500 Received: from mail-wr1-f49.google.com ([209.85.221.49]:38768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4R8O-00028Z-BO for 39366@debbugs.gnu.org; Mon, 03 Jan 2022 12:28:37 -0500 Received: by mail-wr1-f49.google.com with SMTP id e5so71183988wrc.5 for <39366@debbugs.gnu.org>; Mon, 03 Jan 2022 09:28:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=0rHp+AKCihTCO6FOSgWxnMT0x5qehwoqGlML/stjR4k=; b=Vw8TadV+3Z4Gkw39VezKQBvmeYbQPvPTqkqyT6WKMOFSrs5cSoL0iat5cLn4vU/kg1 rl0mhxCm+VdUsrTR0rlTmgrREHbQ8RRhhMFrgHUPCa765FQD8b9PmCJebbcuSRJL0oRW rL7oIZzJzIVv4AwrTh0NkIG8Bl5bDzMQlkC1kct+TUX+TgVqKnjc6WVeKJLdoYt32/i1 eKMWpYa7fekjuKVXD+uk4uJcq5V4isVT56bsX9dY5hexBk59sTvIR0WpiHXEgnVkfnJr 140zF7we/xwS8A+77EECivvSlc5BHeNiZFNXsFbcR9L/bJWaYxV0fe33LeUBqnwbg9yl Is/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=0rHp+AKCihTCO6FOSgWxnMT0x5qehwoqGlML/stjR4k=; b=g/dKwxf0P7lWz14zGiKRuso07wR3d7WxrECHdzl6CXVtW/4n5GGWQmTgo5F8MjxBTt TaRrOC5L3DIiM3EZ/jwWYTsxYnnEWpgeh79jXtX7EeEkcLzMhOT0Sqq1zyGCh4NBEjB8 7E8Dq591VQPR28p2IRXfEBnuISPQYLYo7JqFmbgZoOquIBsVFwM6CR8FtPz7bkPfbRPd 1tMMnjq/t06vHdqGlU2jqbV/Y72nTfi2QIDH+aOOVpcOLiMA4UfDDBsHbOTjZBk/E7SN +a/N9z7BTjlvp9r+BCkOPb/49yBWckvw3EZzLniQSagJQ+n1yG4wV6u4BbqoGEK1D95Z jotA== X-Gm-Message-State: AOAM531n+zXEJuoCuKhXKYUvbgEvWWAGU9/4jwGTj1lWKqWof++jTyMb ep6mgg8pFPSlHLolbDUiTseO8PESeEQ= X-Google-Smtp-Source: ABdhPJwQMYblXCnc8qQKQlM5VGwEEbEFpPGsoKZfEniDGMTcUVPU6TvTQROcoknZk469RueZU5lIzg== X-Received: by 2002:a5d:6050:: with SMTP id j16mr39099169wrt.175.1641230910440; Mon, 03 Jan 2022 09:28:30 -0800 (PST) Received: from lili ([88.126.110.68]) by smtp.gmail.com with ESMTPSA id j3sm35607674wro.22.2022.01.03.09.28.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 09:28:30 -0800 (PST) From: zimoun In-Reply-To: <87r19og3iq.fsf@gnu.org> References: <87blqkrueq.fsf@gmail.com> <87sgjpp9v6.fsf@gnu.org> <86wnk4hdnn.fsf@gmail.com> <87r19og3iq.fsf@gnu.org> Date: Mon, 03 Jan 2022 18:24:30 +0100 Message-ID: <867dbgvik1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 39366@debbugs.gnu.org, Maxim Cournoyer Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1641230950; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0rHp+AKCihTCO6FOSgWxnMT0x5qehwoqGlML/stjR4k=; b=AJezk7tGiwfa3uXxwPpaq5N8xJdLidzjPYN7k43cDsf0wgihDW3NJKFFtyYRAGBrWsgeDI PC4ArGt0nAyS1wcO9FrOFnxbiuWTU0hG6Z2lATVVgNrQiWlsrcanNf09myV/WuA8mMv/9q AWd/XMsftrn4y+WPue4ObunNdbvZ9N7WPgegEJ4/Ue4WOhiHMYsnzxinxhgkQuV3bZDJNQ VIBibm1hoPZHeqY+lJzlfqL8vVpuGEG87EFyHaP3b4LQAl4zaepOAZES7iKXaopTVeIjTV A49SqRqxTxFXiCVgu+FLGfq4b62Zte/XG7q7xdHaVM0NRrexp2TEci4HKVA0Xg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641230950; a=rsa-sha256; cv=none; b=k4rMD+ZMF4AoD+vkL1j0zhCutEMlW4+nfMHvMnXQWRJEKdg7Z4Ze4DvWL0CFMUWgluJHJj lp1mE/7lwDrgi8PiTWC2Pdki7d/VX+UXsQiPLVfLCjr7af6AqfFr7siA5vpsGGucw9y1aI iW6ZpvQckZMD705nzxi+9w3HQoS2OJU1gsyXVe285htpO0m0nXu0Jw+6YOzY2TxwJSbkry HO65M++y4XX7MtOiVXfAx4xfqYv2KwxC55cEY5MMp40HpzqF4lnaNmJmjrp5EpYeeHbjhO dxbQMV6quGJWNpqZ0jssU7zwEVNvt2zpitjJT+402iKa4Zfias9YXwPi/Yr0Vg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Vw8TadV+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Vw8TadV+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 53FB93EE1B X-Spam-Score: -1.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: bfveqYFcfOYx Hi, On Mon, 03 Jan 2022 at 17:58, Ludovic Court=C3=A8s wrote: >>> We could instruct =E2=80=98guix offload=E2=80=99 to always ignore ~/.ss= h/config, but >>> that wouldn=E2=80=99t be great because using it can be useful. >> >> Well, I am in favor of POLA. > > Yeah, actually that would be in line with > bd8345777f5a48ee61656248655ebac71a09e926. > > How about this: > > diff --git a/guix/scripts/offload.scm b/guix/scripts/offload.scm > index 9ddf458c13..925325ef5f 100644 > --- a/guix/scripts/offload.scm > +++ b/guix/scripts/offload.scm > @@ -231,6 +231,9 @@ (define* (open-ssh-session machine #:optional max-sil= ent-time) > ;; stateless instead. > #:knownhosts "/dev/null" >=20=20 > + ;; Likewise for ~/.ssh/config. > + #:config "/dev/null" > + > ;; We need lightweight compression when > ;; exchanging full archives. > #:compression I am not enough familiar with this part of code but it sounds reasonable since it is indeed aligned with the mentioned commit bd8345777f5a48ee61656248655ebac71a09e926. :-) Cheers, simon