[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#36957] [PATCH 1/5] machine: Allow non-root users to deploy.
From: |
Ricardo Wurmus |
Subject: |
[bug#36957] [PATCH 1/5] machine: Allow non-root users to deploy. |
Date: |
Thu, 15 Aug 2019 17:07:07 +0200 |
User-agent: |
mu4e 1.2.0; emacs 26.2 |
Hi Jakob,
> * doc/guix.texi (Invoking guix deploy): Add section describing
> prerequisites for deploying as a non-root user.
> * guix/remote.scm (remote-pipe-for-gexp): New optional 'become-command'
> argument.
> (%remote-eval): New optional 'become-command' argument.
> (remote-eval): New 'become-command' keyword argument.
> * guix/ssh.scm (remote-inferior): New optional 'become-command'
> argument.
> (inferior-remote-eval): New optional 'become-command' argument.
> (remote-authorize-signing-key): New optional 'become-command' argument.
> * gnu/machine/ssh.scm (machine-become-command): New variable.
> (managed-host-remote-eval): Invoke 'remote-eval' with the
> '#:become-command' keyword.
> (deploy-managed-host): Invoke 'remote-authorize-signing-key' with the
> '#:become-command' keyword.
[…]
> -(define (%remote-eval lowered session)
> + (let ((pipe (apply open-remote-pipe* session OPEN_READ repl-command)))
> + (when (eof-object? (peek-char pipe))
> + (raise (condition
> + (&message
> + (message (format #f (G_ "failed to run '~{~a~^ ~}'")
> + repl-command))))))
> + pipe))
This leads to a compile warning because G_ isn’t available.
--
Ricardo
- [bug#36957] [PATCH v2] machine: Allow non-root users to deploy., (continued)
- [bug#36957] [PATCH v2] machine: Allow non-root users to deploy., Ricardo Wurmus, 2019/08/08
- [bug#36957] [PATCH v2] machine: Allow non-root users to deploy., Jakob L. Kreuze, 2019/08/08
- [bug#36957] [PATCH v2] machine: Allow non-root users to deploy., Christopher Lemmer Webber, 2019/08/14
- [bug#36957] [PATCH 0/5] Consolidated patches for guix deploy, Jakob L. Kreuze, 2019/08/15
- [bug#36957] [PATCH 1/5] machine: Allow non-root users to deploy., Jakob L. Kreuze, 2019/08/15
- [bug#36957] [PATCH 2/5] machine: Implement 'roll-back-machine'., Jakob L. Kreuze, 2019/08/15
- [bug#36957] [PATCH 3/5] machine: Automatically authorize the coordinator's signing key., Jakob L. Kreuze, 2019/08/15
- [bug#36957] [PATCH 4/5] doc: Add description of 'build-locally?'., Jakob L. Kreuze, 2019/08/15
- [bug#36957] [PATCH 5/5] remote: Use (%daemon-socket-uri) rather than hard-coded path., Jakob L. Kreuze, 2019/08/15
- bug#36957: [PATCH 5/5] remote: Use (%daemon-socket-uri) rather than hard-coded path., Christopher Lemmer Webber, 2019/08/15
- [bug#36957] [PATCH 1/5] machine: Allow non-root users to deploy.,
Ricardo Wurmus <=
- [bug#36957] [PATCH 1/5] machine: Allow non-root users to deploy., Jakob L. Kreuze, 2019/08/15
- [bug#36957] [PATCH v3] machine: Allow non-root users to deploy., Jakob L. Kreuze, 2019/08/08