From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=none (p=none dis=none) header.from=gibson.dropbear.id.au Authentication-Results: passt.top; dkim=fail reason="key not found in DNS" header.d=gibson.dropbear.id.au header.i=@gibson.dropbear.id.au header.a=rsa-sha256 header.s=202312 header.b=I1tqyhGx; dkim-atps=neutral Received: from mail.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by passt.top (Postfix) with ESMTPS id 7C78D5A0277 for ; Tue, 20 Aug 2024 02:49:57 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gibson.dropbear.id.au; s=202312; t=1724114993; bh=uD1Bi0CCT57gkXtEH50879NcXeHQXuP2t1ILXVoN4qI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=I1tqyhGxbus/cxzRpOgX0SOWwopLcLmjBXI7EW1tvOujLqYWjZQXSqbrlaoQ/egVn IfV40EWZXx7Zr0DdCIf5i+5JnUd/48itGp4x83KSvcMF0zXDIsXVXsvmiLNMh24QN3 XkncDTagmvpe7A2/JTD+59AObyY0WQ+EFjARYhhbAK/1pvGYQGphdj1uumYZvva+Rc 2yU3bp5qbvZFro9CpwQF/IRC+2Ml4bocndK5Q9UJLXb3W0lHqn/6SL4QxDGRSlv8cw L/0+iEv3dy/LbehSAAd2jnzQyi47JnDM9mkcPjVZskEkiDTYUXQdTXV2radiIH4P6N ehMjLoKyUYZRw== Received: by gandalf.ozlabs.org (Postfix, from userid 1007) id 4WnrTY3cTMz4x1H; Tue, 20 Aug 2024 10:49:53 +1000 (AEST) Date: Tue, 20 Aug 2024 10:45:44 +1000 From: David Gibson To: Stefano Brivio Subject: Re: [PATCH 2/4] test/passt.mbuto: Run sshd from vsock proxy with absolute path Message-ID: References: <20240819231434.1481576-1-sbrivio@redhat.com> <20240819231434.1481576-3-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lmVSalL6T4ykALxZ" Content-Disposition: inline In-Reply-To: <20240819231434.1481576-3-sbrivio@redhat.com> Message-ID-Hash: 2U54MYS4Y7UP5YVEGASV3EPEZMM32NX4 X-Message-ID-Hash: 2U54MYS4Y7UP5YVEGASV3EPEZMM32NX4 X-MailFrom: dgibson@gandalf.ozlabs.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --lmVSalL6T4ykALxZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Aug 20, 2024 at 01:14:32AM +0200, Stefano Brivio wrote: > ...OpenSSH >=3D 9.8 otherwise complains that: >=20 > sshd requires execution with an absolute path >=20 > Link: https://bugs.gentoo.org/936041 > Link: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1078429 > Signed-off-by: Stefano Brivio Reviewed-by: David Gibson > --- > test/passt.mbuto | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/test/passt.mbuto b/test/passt.mbuto > index 436eecc..4abaafc 100755 > --- a/test/passt.mbuto > +++ b/test/passt.mbuto > @@ -78,7 +78,7 @@ EOF > EOF > chmod 600 /root/.ssh/authorized_keys > chmod 700 /root > - socat VSOCK-LISTEN:22,fork EXEC:"sshd -i -e" 2> /var/log/vsock-ssh.log & > + socat VSOCK-LISTEN:22,fork EXEC:"/sbin/sshd -i -e" 2> /var/log/vsock-ss= h.log & > sh +m > ' > =20 --=20 David Gibson (he or they) | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you, not the other way | around. http://www.ozlabs.org/~dgibson --lmVSalL6T4ykALxZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEO+dNsU4E3yXUXRK2zQJF27ox2GcFAmbD5zcACgkQzQJF27ox 2GcRNA/+P945EQnf1yHUaKFFzMzC2lRrhwxknbrZhqBspzhSJXlFE0cKMDUkGjlj rH6Aa2SeV1n4xG9hnGC5i/TzkAkdlifM4Jg3A8xUNYIw80R93Mth9DMvhCQ2sJbI FYga2QXF3KaW8mWr3xhQr0c4p3GU3egtrsw7nx0svTECiPMaTb+se6D3lry95ZjX JyI2/e8lIIa1xsLXezvUwWDYJtMObXy+z4b2kQZm0hxEWQMKxvYcPioqNgOmiDVt s0S8AnFI+m+QP23l7x7MeOfgaFKqbu0IkwEQZ8p7XjFiBiA1h3ypmggU5BLmNBk1 o8oQfNK5TFP9u009vUbHLbK3pD/eL0TLpZDu1sMRqeq0wSA/UOYF1QtoMI1oNIOj K0LzGyQnujv0RRYfm5+owfCkszdxrv3BMmNtdDlF+YPmvC++vVL8hjU+VzVOwJnV Fm7sMsw4NBtmtF4uWlqjwyLbf1Q5k3VdHpHoMk5WSxmAIAHCIBIZNOnHWjWA/5p4 OEcAh0243UwVj+trpfwyLOedAAKtKqKOlD6jjnyLrryfiFuQVQBO/cX4yWf6qzgT VTeCH7mIv66s3iBlRVMSqMAn8ipsmbBAXJldqa2nnKgflrE8uK1gg06n5Y0VLIUf M1DVaNbwfuxiUItG6OInFGMm7hF1VBl/ciNQHJgi4Nu08yrmdTY= =kznc -----END PGP SIGNATURE----- --lmVSalL6T4ykALxZ--