unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Attila Lendvai <attila@lendvai.name>
To: 73306@debbugs.gnu.org
Subject: bug#73306: guix deploy fails with dropbear ssh server
Date: Mon, 16 Sep 2024 21:23:22 +0000	[thread overview]
Message-ID: <EOmyWn8SUP1TEf3v0WqkTp2JPcGVjSHfpOVN7-rlyMbB_95D2JEzMO08DH-XHqu-L7GNFW14gr8FXjTDrcMyA2ZSIAFo4QP3kuE2jsXdpps=@lendvai.name> (raw)

should `guix deploy` work with dropbear?

on one of my servers i have replaced openssh with dropbear.

(service dropbear-service-type
         (dropbear-configuration
          (port-number 22)
          (password-authentication? #false)
          ;; To allow `guix deploy` to connect as root.
          (root-login? #true)))

i `guix deploy`ed the config, even rebooted the machine. all works fine, except when i want to `guix deploy` once again:

$ guix deploy x.scm
The following 1 machine will be deployed:
  lendvai

guix deploy: deploying to lendvai...
;;; [2024/09/16 23:10:53.550882, 0] [GSSH ERROR] : #<input-output: channel (closed by the remote side) 7fccff89d080>
Backtrace:
In ice-9/boot-9.scm:
  1752:10 19 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/status.scm:
    839:4 18 (call-with-status-report _ _)
In ice-9/boot-9.scm:
  1752:10 17 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/store.scm:
   689:37 16 (thunk)
   1330:8 15 (call-with-build-handler #<procedure 7fccf6b996c0 at guix/ui.scm:1240:2 (continue store things mode)> _)
In guix/scripts/deploy.scm:
   284:23 14 (_)
In guix/store.scm:
  1412:11 13 (map/accumulate-builds #<store-connection 256.100 7fccf0dc30a0> #<procedure 7fccff88e540 at guix/scripts/deploy.scm:285:45 (t-1e3fba6565d6004…> …)
   1330:8 12 (call-with-build-handler #<procedure 7fccf6ba0b10 at guix/store.scm:1365:2 (continue store things mode)> _)
In ice-9/boot-9.scm:
  1752:10 11 (with-exception-handler _ _ #:unwind? _ #:unwind-for-type _)
In guix/scripts/deploy.scm:
   166:29 10 (_)
In gnu/machine/ssh.scm:
   513:25  9 (deploy-managed-host #<<machine> operating-system: #<<operating-system> kernel: #<package linux-libre@6.10.9 gnu/packages/linux.scm:974 7fccf4…>)
    397:2  8 (check-deployment-sanity #<<machine> operating-system: #<<operating-system> kernel: #<package linux-libre@6.10.9 gnu/packages/linux.scm:974 7f…>)
   365:17  7 (machine-check-building-for-appropriate-system _)
In guix/ssh.scm:
   204:18  6 (remote-system _)
   191:15  5 (remote-inferior _ _)
In ssh/popen.scm:
     64:4  4 (open-remote-pipe* #<session root@lendvai.name:22 (connected) 7fccfd6fafe0> "r+" _ . _)
In unknown file:
           3 (channel-open-session #<input-output: channel (closed by the remote side) 7fccff89d080>)
In ice-9/boot-9.scm:
  1685:16  2 (raise-exception _ #:continuable? _)
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Throw to key `guile-ssh-error' with args `("channel-open-session" "" #<input-output: channel (closed by the remote side) 7fccff89d080> #f)'.



the ssh login part seems to have worked fine according to /var/log/secure:

Sep 16 23:10:52 localhost dropbear[489]: Pubkey auth succeeded for 'root' with ssh-ed25519 key SHA256:[...] from [...]
Sep 16 23:10:53 localhost dropbear[489]: Exit (root) from <...>: Exited normally

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Let him who would move the world, first move himself.”
	— Socrates (c. 470–399 BC, tried and executed)





             reply	other threads:[~2024-09-16 21:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-16 21:23 Attila Lendvai [this message]
2024-09-30  9:54 ` bug#73306: guix deploy fails with dropbear ssh server Attila Lendvai

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='EOmyWn8SUP1TEf3v0WqkTp2JPcGVjSHfpOVN7-rlyMbB_95D2JEzMO08DH-XHqu-L7GNFW14gr8FXjTDrcMyA2ZSIAFo4QP3kuE2jsXdpps=@lendvai.name' \
    --to=attila@lendvai.name \
    --cc=73306@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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).