* [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
@ 2024-07-02 12:21 Niklas Yann Wettengel
2024-07-02 12:31 ` Baruch Siach via buildroot
0 siblings, 1 reply; 7+ messages in thread
From: Niklas Yann Wettengel @ 2024-07-02 12:21 UTC (permalink / raw)
To: buildroot; +Cc: Niklas Yann Wettengel
In OpenSSH 9.8 the server is split into two processes: sshd and
sshd-session. This patch installs the sshd-session binary
Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de>
---
package/openssh/openssh.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index 6d846f64df..7065c3ae4f 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -117,6 +117,7 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y)
define OPENSSH_INSTALL_SERVER_PROGRAMS
$(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd
+ $(INSTALL) -D -m 0755 $(@D)/sshd-session $(TARGET_DIR)/usr/libexec/sshd-session
$(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server
endef
OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
2024-07-02 12:21 [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session Niklas Yann Wettengel
@ 2024-07-02 12:31 ` Baruch Siach via buildroot
0 siblings, 0 replies; 7+ messages in thread
From: Baruch Siach via buildroot @ 2024-07-02 12:31 UTC (permalink / raw)
To: Niklas Yann Wettengel; +Cc: buildroot
Hi Niklas,
Thanks for the patch.
On Tue, Jul 02 2024, Niklas Yann Wettengel wrote:
> In OpenSSH 9.8 the server is split into two processes: sshd and
> sshd-session. This patch installs the sshd-session binary
Does that mean that sshd does not work after recent bump to version 9.8?
Please add this information to the commit log. This must be applied to
stable branches after the version bump.
Thanks,
baruch
>
> Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de>
> ---
> package/openssh/openssh.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index 6d846f64df..7065c3ae4f 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -117,6 +117,7 @@ endif
> ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y)
> define OPENSSH_INSTALL_SERVER_PROGRAMS
> $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd
> + $(INSTALL) -D -m 0755 $(@D)/sshd-session $(TARGET_DIR)/usr/libexec/sshd-session
> $(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server
> endef
> OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS
--
~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
@ 2024-07-02 12:36 Niklas Yann Wettengel
2024-07-02 15:53 ` Nevo Hed via buildroot
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Niklas Yann Wettengel @ 2024-07-02 12:36 UTC (permalink / raw)
To: buildroot; +Cc: Niklas Yann Wettengel
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
Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de>
---
package/openssh/openssh.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
index 6d846f64df..7065c3ae4f 100644
--- a/package/openssh/openssh.mk
+++ b/package/openssh/openssh.mk
@@ -117,6 +117,7 @@ endif
ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y)
define OPENSSH_INSTALL_SERVER_PROGRAMS
$(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd
+ $(INSTALL) -D -m 0755 $(@D)/sshd-session $(TARGET_DIR)/usr/libexec/sshd-session
$(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server
endef
OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS
--
2.45.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
2024-07-02 12:36 Niklas Yann Wettengel
@ 2024-07-02 15:53 ` Nevo Hed via buildroot
2024-07-02 19:30 ` Arnout Vandecappelle via buildroot
2024-07-02 16:25 ` Fiona Klute via buildroot
2024-07-02 19:30 ` Arnout Vandecappelle via buildroot
2 siblings, 1 reply; 7+ messages in thread
From: Nevo Hed via buildroot @ 2024-07-02 15:53 UTC (permalink / raw)
To: Niklas Yann Wettengel; +Cc: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 1385 bytes --]
+1 - I came here to suggest the same patch
On Tue, Jul 2, 2024 at 8:36 AM Niklas Yann Wettengel <niyawe@niyawe.de>
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
>
> Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de>
> ---
> package/openssh/openssh.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index 6d846f64df..7065c3ae4f 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -117,6 +117,7 @@ endif
> ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y)
> define OPENSSH_INSTALL_SERVER_PROGRAMS
> $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd
> + $(INSTALL) -D -m 0755 $(@D)/sshd-session
> $(TARGET_DIR)/usr/libexec/sshd-session
> $(INSTALL) -D -m 0755 $(@D)/sftp-server
> $(TARGET_DIR)/usr/libexec/sftp-server
> endef
> OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS
> --
> 2.45.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
>
[-- Attachment #1.2: Type: text/html, Size: 2284 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
2024-07-02 15:53 ` Nevo Hed via buildroot
@ 2024-07-02 19:30 ` Arnout Vandecappelle via buildroot
0 siblings, 0 replies; 7+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-07-02 19:30 UTC (permalink / raw)
To: Nevo Hed, Niklas Yann Wettengel; +Cc: buildroot
On 02/07/2024 17:53, Nevo Hed via buildroot wrote:
> +1 - I came here to suggest the same patch
The proper way to say this is by replying with
Tested-by: Nevo Hed <nhed+buildroot@starry.com>
in the body of the reply. Patchwork picks that up and adds it to the commit
message, so you're credited for that effort.
I've now done that manually, but since I wasn't sure if you actually tested
it, I gave it a Reviewed-by instead of a Tested-by.
Regards,
Arnout
>
> On Tue, Jul 2, 2024 at 8:36 AM Niklas Yann Wettengel <niyawe@niyawe.de
> <mailto:niyawe@niyawe.de>> 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
>
> Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de
> <mailto:niyawe@niyawe.de>>
> ---
> package/openssh/openssh.mk <http://openssh.mk> | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/openssh/openssh.mk <http://openssh.mk>
> b/package/openssh/openssh.mk <http://openssh.mk>
> index 6d846f64df..7065c3ae4f 100644
> --- a/package/openssh/openssh.mk <http://openssh.mk>
> +++ b/package/openssh/openssh.mk <http://openssh.mk>
> @@ -117,6 +117,7 @@ endif
> ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y)
> define OPENSSH_INSTALL_SERVER_PROGRAMS
> $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd
> + $(INSTALL) -D -m 0755 $(@D)/sshd-session
> $(TARGET_DIR)/usr/libexec/sshd-session
> $(INSTALL) -D -m 0755 $(@D)/sftp-server
> $(TARGET_DIR)/usr/libexec/sftp-server
> endef
> OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS
> --
> 2.45.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org <mailto:buildroot@buildroot.org>
> https://lists.buildroot.org/mailman/listinfo/buildroot
> <https://lists.buildroot.org/mailman/listinfo/buildroot>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
2024-07-02 12:36 Niklas Yann Wettengel
2024-07-02 15:53 ` Nevo Hed via buildroot
@ 2024-07-02 16:25 ` Fiona Klute via buildroot
2024-07-02 19:30 ` Arnout Vandecappelle via buildroot
2 siblings, 0 replies; 7+ messages in thread
From: Fiona Klute via buildroot @ 2024-07-02 16:25 UTC (permalink / raw)
To: buildroot
Am 02.07.24 um 14:36 schrieb Niklas Yann Wettengel:
> 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
>
> Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de>
Tested-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Thanks for the patch!
Fiona
> ---
> package/openssh/openssh.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index 6d846f64df..7065c3ae4f 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -117,6 +117,7 @@ endif
> ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y)
> define OPENSSH_INSTALL_SERVER_PROGRAMS
> $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd
> + $(INSTALL) -D -m 0755 $(@D)/sshd-session $(TARGET_DIR)/usr/libexec/sshd-session
> $(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server
> endef
> OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session
2024-07-02 12:36 Niklas Yann Wettengel
2024-07-02 15:53 ` Nevo Hed via buildroot
2024-07-02 16:25 ` Fiona Klute via buildroot
@ 2024-07-02 19:30 ` Arnout Vandecappelle via buildroot
2 siblings, 0 replies; 7+ messages in thread
From: Arnout Vandecappelle via buildroot @ 2024-07-02 19:30 UTC (permalink / raw)
To: Niklas Yann Wettengel, buildroot
On 02/07/2024 14:36, Niklas Yann Wettengel 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
>
I've added a Fixes: tag here to refer to the issue on gitlab and to the commit
that broke openssh.
Applied to master, thanks.
Regards,
Arnout
> Signed-off-by: Niklas Yann Wettengel <niyawe@niyawe.de>
> ---
> package/openssh/openssh.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk
> index 6d846f64df..7065c3ae4f 100644
> --- a/package/openssh/openssh.mk
> +++ b/package/openssh/openssh.mk
> @@ -117,6 +117,7 @@ endif
> ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y)
> define OPENSSH_INSTALL_SERVER_PROGRAMS
> $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd
> + $(INSTALL) -D -m 0755 $(@D)/sshd-session $(TARGET_DIR)/usr/libexec/sshd-session
> $(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server
> endef
> OPENSSH_POST_INSTALL_TARGET_HOOKS += OPENSSH_INSTALL_SERVER_PROGRAMS
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-07-02 19:30 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02 12:21 [Buildroot] [PATCH 1/1] packages/openssh: install sshd-session Niklas Yann Wettengel
2024-07-02 12:31 ` Baruch Siach via buildroot
-- strict thread matches above, loose matches on Subject: below --
2024-07-02 12:36 Niklas Yann Wettengel
2024-07-02 15:53 ` Nevo Hed via buildroot
2024-07-02 19:30 ` Arnout Vandecappelle via buildroot
2024-07-02 16:25 ` Fiona Klute via buildroot
2024-07-02 19:30 ` Arnout Vandecappelle via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox