mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lars Pedersen <lapeddk@gmail.com>
To: ptxdist@pengutronix.de
Cc: Lars Pedersen <lapeddk@gmail.com>
Subject: [ptxdist] [PATCH] openssh: Fix install openssh-session
Date: Fri,  5 Jul 2024 13:50:42 +0200	[thread overview]
Message-ID: <20240705115042.379407-1-lapeddk@gmail.com> (raw)

In OpenSSH 9.8 the server is split into two processes: sshd and
sshd-session which results in the following error, when trying to start
sshd:

Starting sshd: /usr/libexec/sshd-session does not exist or is not
executable

This patch installs the sshd-session binary

https://lore.kernel.org/buildroot/0731d879-631d-49af-9c42-57ae774471ba@mind.be/T/

Signed-off-by: Lars Pedersen <lapeddk@gmail.com>
---
 rules/openssh.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/openssh.make b/rules/openssh.make
index 78df72c6a..36927b241 100644
--- a/rules/openssh.make
+++ b/rules/openssh.make
@@ -105,6 +105,8 @@ ifdef PTXCONF_OPENSSH_SSHD
 		/etc/ssh/moduli)
 	@$(call install_copy, openssh, 0, 0, 0755, -, \
 		/usr/sbin/sshd)
+	@$(call install_copy, openssh, 0, 0, 0755, -, \
+		/usr/sbin/sshd-session)
 ifdef PTXCONF_OPENSSH_SSHD_GENKEYS
 	@$(call install_alternative, openssh, 0, 0, 0755, /etc/rc.once.d/openssh)
 endif
-- 
2.45.2




             reply	other threads:[~2024-07-05 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-05 11:50 Lars Pedersen [this message]
2024-07-11  6:31 ` Michael Olbrich

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=20240705115042.379407-1-lapeddk@gmail.com \
    --to=lapeddk@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox