From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id eJljA9Qv02GXEQAAgWs5BA (envelope-from ) for ; Mon, 03 Jan 2022 18:18:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iB+QO9Mv02FkCgEAauVa8A (envelope-from ) for ; Mon, 03 Jan 2022 18:18:11 +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 CA8872D670 for ; Mon, 3 Jan 2022 18:18:11 +0100 (CET) Received: from localhost ([::1]:38964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4QyI-000834-Bd for larch@yhetil.org; Mon, 03 Jan 2022 12:18:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34478) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4QyA-00082s-8B for bug-guix@gnu.org; Mon, 03 Jan 2022 12:18:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52797) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4Qy9-0004az-UU for bug-guix@gnu.org; Mon, 03 Jan 2022 12:18:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4Qy9-0001r5-PV for bug-guix@gnu.org; Mon, 03 Jan 2022 12:18:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#52517: inconstency with offloading Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Jan 2022 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52517 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Received: via spool by 52517-submit@debbugs.gnu.org id=B52517.16412302597098 (code B ref 52517); Mon, 03 Jan 2022 17:18:01 +0000 Received: (at 52517) by debbugs.gnu.org; 3 Jan 2022 17:17:39 +0000 Received: from localhost ([127.0.0.1]:36110 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4Qxn-0001qQ-6d for submit@debbugs.gnu.org; Mon, 03 Jan 2022 12:17:39 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:42717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4Qxl-0001q9-G9 for 52517@debbugs.gnu.org; Mon, 03 Jan 2022 12:17:37 -0500 Received: by mail-wr1-f46.google.com with SMTP id w20so62133548wra.9 for <52517@debbugs.gnu.org>; Mon, 03 Jan 2022 09:17:37 -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=Ki0ghlGAJekdm0OIWv4DOuwD82wiHIPAAFnLNUQYoFw=; b=FLereiVCywPGoBVjFYkl7+2aTl1ETEl+0EbpwEAa7c4SdH+tPcnAMQeq8eFZwzqrjg kEDk1Xyh+lHo6B8XEfrZD5jkKdasFdAGlMSQAbxZsvArpktaYOPgyBrzoGCGTrY0o3eP 8C4rflkpGJChTN2RHXlobd2KsA89Zja7aP8EFmyOFBoAaryV9bAWgB81atwHkKwbWwC+ 6FHBx7qpeVWJrsSktwCtzhtK5y58GfLmWo0+i6bI6/NIHdOEbihWZq3H/bAaciBF4zI2 B4pZKO5iO0jAgmhOSbj3x6N4k+DWbTFh1Kg2BB4E0q7e1V0utoMN+SHHu46RB3e80Weu T91Q== 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=Ki0ghlGAJekdm0OIWv4DOuwD82wiHIPAAFnLNUQYoFw=; b=DwwSJuIWMsKJaQ9na8kJnXJamEmWOFpHEQ7n+MLwNKNSxR7AdKb9xde2Gxu+RI8Hxk 7f8IZ+KrTHWSYE+/kD27orrK5EZUA7AdTuUU+dzfmVf4jB3vHSl+d35rZ8LwfJuQPPn5 ES58cDjGT6VUrv5oYMk23OKjTM/U2ci7/2IFeTjL+m2Zv6Ac9hlVX4Nh1K9zHKMqztF4 THy3ghFXb75GWbY2AjMRpDAolq2gNjvg8r7uor3xVzNz5dj85N++zpZsCtsuRhUijAIR 4itziaqkeWhwnRWMnhp+NdkJJjQOigFlshXyZlODm1E/MwOz8Xh4ZAJYJMK8IK7vw3Rm TWPQ== X-Gm-Message-State: AOAM532JfV7GY/50d3pcZq+y5Tv5iqQyKpAJQ4YqvkNLeIxxmiDb6+NL 2LY46izecn0qjrt9aTT5je80lAhI3RM= X-Google-Smtp-Source: ABdhPJyhKTa+TmSMv4MTtigPluIcdPN1SlVvSwTucOUaNPqJbfTHly4fZpSWc/y11UsM9nCBkCZ34w== X-Received: by 2002:adf:9d8c:: with SMTP id p12mr38852214wre.622.1641230251633; Mon, 03 Jan 2022 09:17:31 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id w25sm37011186wmk.20.2022.01.03.09.17.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jan 2022 09:17:31 -0800 (PST) From: zimoun In-Reply-To: <87sfu4g3s0.fsf@gnu.org> References: <87y24lol6r.fsf@gmail.com> <87sfu4g3s0.fsf@gnu.org> Date: Mon, 03 Jan 2022 18:16:50 +0100 Message-ID: <86czl8viwt.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: 52517@debbugs.gnu.org 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=1641230291; 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=Ki0ghlGAJekdm0OIWv4DOuwD82wiHIPAAFnLNUQYoFw=; b=dy1azPTEN9cuD6rT/v91XmJHgGzjQClabIfUOHJSz1CVYb7+d1Hq2dagc9K5UZfwNpKPJa OehRs0HeOGFehMYIOKvTQKRcxt6QmM3nnnq/PrDa3sgMP99vFO6FwFU2WGSEyVIk8/zhQp 4Mus2zHAtvN4PKFprUf5klyOJ38nyuR5UpZuxo4uPKiXv5n3ZUUIqMBIJjI/KWhwAaHdPw I+1j1zn5iieZlszmHhWjLfPPCeeF4RqnlyOn9HN3X1Ts5B/HbRw3LAMwbYo1F3cgktf8eA jSAfTre56L6ZBm5T6xYP8cuEO+b7b9H8ECj/SDbPA2ComJg0rj8VGBtCaaAN2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1641230291; a=rsa-sha256; cv=none; b=gO5sSW97gNniu5OLKF5bSHSNuL0fHRHY+lvHTBE2tc7MxPxi48GtyVjx041iJOqWb22SoY kO5/HF8dkBm6yDpKJcZj5YCSKTx+Jjm2pUt7TLw9H36Zr9fmau3riz5FISUFHmjlIaFX62 Iys2aaf84mOMZ1jsVU1NlawvAOYAhhkcceeA/qN50ryLUqc4bJBXCkJJU6UB++Olr4/LiD opOhRD6pLMIqdjvcNA2uPUgiLo+F6/47l8G3+zGstvk8rH7KfsVz7A181TAzK/Jkx8rZxM kFkZqX6Ff03ivB5kf7lqq6dMEvVxA3LNLd6sGcXMwd6FO5X6N42uNHS3QUvsAQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=FLereiVC; 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=FLereiVC; 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: CA8872D670 X-Spam-Score: -1.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: bN+B8Z+2cJzZ Hi, On Mon, 03 Jan 2022 at 17:52, Ludovic Court=C3=A8s wrote: > This is because guix-daemon spawns =E2=80=98guix offload=E2=80=99 as root. Yes. The issue is I cannot offload to a machine where I have an SSH account and where Guix is installed if the sysadmin does not configure correctly this /root/.ssh/. > diff --git a/doc/guix.texi b/doc/guix.texi > index 43549da388..9c1f30e83f 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -1250,9 +1250,10 @@ The @file{/etc/guix/machines.scm} file typically l= ooks like this: > (systems (list "aarch64-linux")) > (host-key "ssh-rsa AAAAB3Nza@dots{}") > (user "alice") > - (private-key > - (string-append (getenv "HOME") > - "/.ssh/identity-for-guix")))) > + > + ;; Remember 'guix offload' is spawned by > + ;; 'guix-daemon' as root. > + (private-key "/root/.ssh/identity-for-guix"))) This patch LGTM. At least, it could save time for people configuring offload. :-) I am fine to close the issue but, as I said, the fix seems to be able to offload without root access but just an SSH access. Cheers, simon