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 <passt-dev@passt.top>; 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 <david@gibson.dropbear.id.au>
To: Stefano Brivio <sbrivio@redhat.com>
Subject: Re: [PATCH 2/4] test/passt.mbuto: Run sshd from vsock proxy with
 absolute path
Message-ID: <ZsPnOIK8R8AJk6-T@zatzit.fritz.box>
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 <passt-dev.passt.top>
Archived-At: <https://archives.passt.top/passt-dev/ZsPnOIK8R8AJk6-T@zatzit.fritz.box/>
Archived-At: <https://passt.top/hyperkitty/list/passt-dev@passt.top/message/2U54MYS4Y7UP5YVEGASV3EPEZMM32NX4/>
List-Archive: <https://archives.passt.top/passt-dev/>
List-Archive: <https://passt.top/hyperkitty/list/passt-dev@passt.top/>
List-Help: <mailto:passt-dev-request@passt.top?subject=help>
List-Owner: <mailto:passt-dev-owner@passt.top>
List-Post: <mailto:passt-dev@passt.top>
List-Subscribe: <mailto:passt-dev-join@passt.top>
List-Unsubscribe: <mailto:passt-dev-leave@passt.top>


--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 <sbrivio@redhat.com>

Reviewed-by: David Gibson <david@gibson.dropbear.id.au>

> ---
>  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--