public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>, passt-dev@passt.top
Cc: David Gibson <david@gibson.dropbear.id.au>,
	Laurent Vivier <lvivier@redhat.com>
Subject: [PATCH v3 5/5] test: Include sshd-auth in mbuto guest image
Date: Wed,  7 Jan 2026 12:46:06 +1100	[thread overview]
Message-ID: <20260107014606.1513722-6-david@gibson.dropbear.id.au> (raw)
In-Reply-To: <20260107014606.1513722-1-david@gibson.dropbear.id.au>

OpenSSH has split itself into several binaries for greater security.  We
already have logic to make sure we include the sshd-session binary.
OpenSSH 10 has added another: sshd-auth which we also need for a working
sshd within the guest.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
---
 test/passt.mbuto | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/test/passt.mbuto b/test/passt.mbuto
index 598c2547..de35c3ce 100755
--- a/test/passt.mbuto
+++ b/test/passt.mbuto
@@ -24,6 +24,12 @@ for bin in /usr/lib/openssh/sshd-session /usr/lib/ssh/sshd-session \
 	command -v "${bin}" >/dev/null && PROGS="${PROGS} ${bin}"
 done
 
+# OpenSSH 10 adds sshd-auth as well
+for bin in /usr/lib/openssh/sshd-auth /usr/lib/ssh/sshd-auth \
+	   /usr/libexec/openssh/sshd-auth; do
+	command -v "${bin}" >/dev/null && PROGS="${PROGS} ${bin}"
+done
+
 KMODS="${KMODS:- virtio_net virtio_pci vmw_vsock_virtio_transport}"
 
 LINKS="${LINKS:-
-- 
2.52.0


      parent reply	other threads:[~2026-01-07  1:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-07  1:46 [PATCH v3 0/5] Fixes for Fedora 43 David Gibson
2026-01-07  1:46 ` [PATCH v3 1/5] util: Be more defensive about buffer overruns in read_file() David Gibson
2026-01-07  1:46 ` [PATCH v3 2/5] migrate: Don't use terminator element for versions[] array David Gibson
2026-01-07  1:46 ` [PATCH v3 3/5] treewide: Don't rely on terminator records in ip[46].dns arrays David Gibson
2026-01-07  1:46 ` [PATCH v3 4/5] test: Handle Operating System Command escapes in terminal output David Gibson
2026-01-07  1:46 ` David Gibson [this message]

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=20260107014606.1513722-6-david@gibson.dropbear.id.au \
    --to=david@gibson.dropbear.id.au \
    --cc=lvivier@redhat.com \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /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://passt.top/passt

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 IMAP folder(s).