Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dracut-sshd for openSUSE:Factory checked in at 2024-08-01 22:04:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dracut-sshd (Old) and /work/SRC/openSUSE:Factory/.dracut-sshd.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "dracut-sshd" Thu Aug 1 22:04:17 2024 rev:4 rq:1190662 version:0.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/dracut-sshd/dracut-sshd.changes 2020-11-17 21:23:20.361261982 +0100 +++ /work/SRC/openSUSE:Factory/.dracut-sshd.new.7232/dracut-sshd.changes 2024-08-01 22:04:39.621038156 +0200 @@ -1,0 +2,7 @@ +Wed Jul 31 07:00:49 UTC 2024 - Antonio Feijoo <antonio.feijoo@suse.com> + +- Support OpenSSH 9.8 + * Adds 0002-Support-OpenSSH-9.8.patch + * Adds 0003-Support-OpenSSH-9.8-for-openSUSE.patch + +------------------------------------------------------------------- New: ---- 0002-Support-OpenSSH-9.8.patch 0003-Support-OpenSSH-9.8-for-openSUSE.patch BETA DEBUG BEGIN: New:- Support OpenSSH 9.8 * Adds 0002-Support-OpenSSH-9.8.patch * Adds 0003-Support-OpenSSH-9.8-for-openSUSE.patch New: * Adds 0002-Support-OpenSSH-9.8.patch * Adds 0003-Support-OpenSSH-9.8-for-openSUSE.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dracut-sshd.spec ++++++ --- /var/tmp/diff_new_pack.ghT4Kd/_old 2024-08-01 22:04:40.653080722 +0200 +++ /var/tmp/diff_new_pack.ghT4Kd/_new 2024-08-01 22:04:40.657080887 +0200 @@ -1,7 +1,7 @@ # # spec file for package dracut-sshd # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ URL: https://github.com/gsauthof/dracut-sshd Source: https://github.com/gsauthof/dracut-sshd/archive/%{version}%{pkg_rel}/%{name}-%{version}%{pkg_rel}.tar.gz Patch1: 0001-Give-some-guidance-through-motd-prompt.patch +Patch2: 0002-Support-OpenSSH-9.8.patch +Patch3: 0003-Support-OpenSSH-9.8-for-openSUSE.patch BuildRequires: dracut Requires: dracut BuildRoot: %{_tmppath}/%{name}-%{version}-build ++++++ 0002-Support-OpenSSH-9.8.patch ++++++ From 70e5062427a5da3732721ea6d3064d5936d0f0e9 Mon Sep 17 00:00:00 2001 From: Ellison Patterson <3533001+ellisonpatterson@users.noreply.github.com> Date: Mon, 1 Jul 2024 11:39:29 -0400 Subject: [PATCH 2/3] Support OpenSSH 9.8 Reason for why we need these executables: https://www.openssh.com/releasenotes.html#9.8p1 * sshd(8): the server has been split into a listener binary, sshd(8), and a per-session binary "sshd-session". This allows for a much smaller listener binary, as it no longer needs to support the SSH protocol. As part of this work, support for disabling privilege separation (which previously required code changes to disable) and disabling re-execution of sshd(8) has been removed. Further separation of sshd-session into additional, minimal binaries is planned for the future. fixes #80 --- 46sshd/module-setup.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/46sshd/module-setup.sh b/46sshd/module-setup.sh index eb9da8d..7f26087 100755 --- a/46sshd/module-setup.sh +++ b/46sshd/module-setup.sh @@ -58,6 +58,18 @@ install() { inst_multiple -o /etc/sysconfig/sshd /etc/sysconfig/ssh \ /etc/sysconfig/dracut-sshd + # Copy ssh helper executables for OpenSSH 9.8+ + # /usr/lib/ssh -> Arch + # /usr/lib(64)/misc -> Gentoo + # /usr/libexec/openssh -> Fedora (possibly) + local d + for d in /usr/lib/ssh /usr/lib64/misc /usr/lib/misc /usr/libexec/openssh ; do + if [ -f "$d"/sshd-session ]; then + inst_multiple "$d"/{sshd-session,sftp-server} + break + fi + done + # First entry for Fedora 28, second for Fedora 27 inst_multiple -o /etc/crypto-policies/back-ends/opensshserver.config \ /etc/crypto-policies/back-ends/openssh-server.config -- 2.35.3 ++++++ 0003-Support-OpenSSH-9.8-for-openSUSE.patch ++++++ From 6377dc91b655cc1027bbfcf5ff092cc64b8cf013 Mon Sep 17 00:00:00 2001 From: Antonio Alvarez Feijoo <antonio.feijoo@suse.com> Date: Tue, 30 Jul 2024 09:42:59 +0200 Subject: [PATCH 3/3] Support OpenSSH 9.8 for openSUSE Follow-up for 70e5062427a5da3732721ea6d3064d5936d0f0e9 --- 46sshd/module-setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/46sshd/module-setup.sh b/46sshd/module-setup.sh index 7f26087..3eee79c 100755 --- a/46sshd/module-setup.sh +++ b/46sshd/module-setup.sh @@ -61,9 +61,10 @@ install() { # Copy ssh helper executables for OpenSSH 9.8+ # /usr/lib/ssh -> Arch # /usr/lib(64)/misc -> Gentoo - # /usr/libexec/openssh -> Fedora (possibly) + # /usr/libexec/openssh -> Fedora + # /usr/libexec/ssh -> openSUSE local d - for d in /usr/lib/ssh /usr/lib64/misc /usr/lib/misc /usr/libexec/openssh ; do + for d in /usr/lib/ssh /usr/lib64/misc /usr/lib/misc /usr/libexec/openssh /usr/libexec/ssh ; do if [ -f "$d"/sshd-session ]; then inst_multiple "$d"/{sshd-session,sftp-server} break -- 2.35.3