From: Brice Waegeneire <brice@waegenei.re>
To: 41235@debbugs.gnu.org
Subject: bug#41235: guix deploy can't deploy with a user different than root
Date: Wed, 13 May 2020 15:29:58 +0000 [thread overview]
Message-ID: <40477dd457d8aaa03ee88b0386d6d933@waegenei.re> (raw)
Hello,
When trying to reproduce another “guix deploy” bug for a future bug
report
I stumbled upon this one: it's not possible to deploy as a user
(machine-ssh-configuration-user) different than “root“, even with a
properly configured sudoers file[0]. Deploying with root works when ssh
is
configured with “PermitRootLogin yes”. Following is the backtrace:
--8<---------------cut here---------------start------------->8---
$ guix deploy -Lmodules systems/hystou-p04.scm
guix deploy: warning: failed to load '(config workstation)':
no code for module (gnu services lightdm)
The following 1 machine will be deployed:
abricot
guix deploy: deploying to abricot...
sending 0 store items (0 MiB) to '192.168.10.10'...
Backtrace:
In guix/ui.scm:
1936:12 19 (run-guix-command _ . _)
In guix/status.scm:
776:4 18 (call-with-status-report _ _)
In ice-9/boot-9.scm:
1736:10 17 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
630:22 16 (thunk)
1295:8 15 (call-with-build-handler _ _)
1295:8 14 (call-with-build-handler #<procedure 7fe8ee3bc120 at g…> …)
In guix/scripts/deploy.scm:
155:12 13 (_)
In guix/store.scm:
1336:2 12 (map/accumulate-builds #<store-connection 256.99 7fe8e…> …)
In srfi/srfi-1.scm:
586:17 11 (map1 (#<<unresolved> things: (("/gnu/store/x32cnfkd50…>))
In guix/store.scm:
1295:8 10 (call-with-build-handler #<procedure build-accumulator…> …)
In guix/scripts/deploy.scm:
123:2 9 (_ _)
In ice-9/boot-9.scm:
1736:10 8 (with-exception-handler _ _ #:unwind? _ # _)
In guix/scripts/deploy.scm:
133:4 7 (_)
In guix/store.scm:
2015:24 6 (run-with-store #<store-connection 256.99 7fe8ee3a75f0> …)
In gnu/machine/ssh.scm:
416:2 5 (_ _)
316:2 4 (_ _)
In guix/remote.scm:
138:10 3 (_ _)
In guix/store.scm:
1886:38 2 (_ #<store-connection 256.99 7fe8ee7dba50>)
In ice-9/boot-9.scm:
1669:16 1 (raise-exception _ #:continuable? _)
1667:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1667:16: In procedure raise-exception:
ERROR:
1. &store-protocol-error:
message: "unknown error while sending files over SSH"
status: 44
--8<---------------cut here---------------end--------------->8---
[0]:
https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-deploy.html#Invoking-guix-deploy
- Brice
next reply other threads:[~2020-05-13 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-13 15:29 Brice Waegeneire [this message]
2022-01-18 7:13 ` bug#41235: guix deploy can't deploy with a user different than root Brice Waegeneire
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=40477dd457d8aaa03ee88b0386d6d933@waegenei.re \
--to=brice@waegenei.re \
--cc=41235@debbugs.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.