From: zimoun <zimon.toutoune@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 52517@debbugs.gnu.org
Subject: bug#52517: inconstency with offloading
Date: Mon, 03 Jan 2022 18:16:50 +0100 [thread overview]
Message-ID: <86czl8viwt.fsf@gmail.com> (raw)
In-Reply-To: <87sfu4g3s0.fsf@gnu.org>
Hi,
On Mon, 03 Jan 2022 at 17:52, Ludovic Courtès <ludo@gnu.org> wrote:
> This is because guix-daemon spawns ‘guix offload’ 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 looks 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
next prev parent reply other threads:[~2022-01-03 17:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-15 17:02 bug#52517: inconstency with offloading zimoun
2021-12-16 4:09 ` Maxim Cournoyer
2022-01-03 16:52 ` Ludovic Courtès
2022-01-03 17:16 ` zimoun [this message]
2022-01-03 18:30 ` Ludovic Courtès
2022-01-03 19:19 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86czl8viwt.fsf@gmail.com \
--to=zimon.toutoune@gmail.com \
--cc=52517@debbugs.gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.