* [ptxdist] [PATCH] openssh: Fix install openssh-session
@ 2024-07-05 11:50 Lars Pedersen
2024-07-11 6:31 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Lars Pedersen @ 2024-07-05 11:50 UTC (permalink / raw)
To: ptxdist; +Cc: Lars Pedersen
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] openssh: Fix install openssh-session
2024-07-05 11:50 [ptxdist] [PATCH] openssh: Fix install openssh-session Lars Pedersen
@ 2024-07-11 6:31 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-07-11 6:31 UTC (permalink / raw)
To: Lars Pedersen; +Cc: ptxdist
On Fri, Jul 05, 2024 at 01:50:42PM +0200, Lars Pedersen wrote:
> 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>
I noticed this as well and I've already pushed, basically the same patch.
Michael
> ---
> 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
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-07-11 6:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-05 11:50 [ptxdist] [PATCH] openssh: Fix install openssh-session Lars Pedersen
2024-07-11 6:31 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox