From nobody Tue Nov 26 16:35:01 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=reject dis=none) header.from=linux.ibm.com ARC-Seal: i=1; a=rsa-sha256; t=1706212153; cv=none; d=zohomail.com; s=zohoarc; b=kG7toKBldORLPUKFGvukezf8C9dbb3195jIagh6k8ncCWt+iJn4x/zQnZT3Qb1KS+h0CoyEhfmz6BPODGTZv/7F2PBKBOWmeIMJ2M6CuRf+vaFGpNFd8yKFELeM5p5hWfhBILjOUrtKjcho2n8Th6KjpDTVGsu2Pb4hQkjYvb9o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706212153; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=QrqqIXBVulxLz7m0qz6pGgXWkMJr+WZUAxRKKZE8k3o=; b=UxfmHkXjHGyfQaToe6IMWY8RwsHTA+07ircAod8hPwnUTtKsLqlHF+AO6/msbRoN/H4uyAlszp+wv+SxfBB6HqOL4mgqmZXX68QWaUVFJDPPiZ/clfJAumh73yQSlBkwyhgZ0mjoCDdX9RIXW9vl8wqSpM+P4laIimTJyNnUhfI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1706212152686343.56954309173534; Thu, 25 Jan 2024 11:49:12 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT5if-0001Nr-RB; Thu, 25 Jan 2024 14:49:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rT5id-0001NR-Vi for qemu-devel@nongnu.org; Thu, 25 Jan 2024 14:49:00 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rT5ic-0007yf-2J for qemu-devel@nongnu.org; Thu, 25 Jan 2024 14:48:59 -0500 Received: from pps.filterd (m0353726.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 40PJMJXh030140; Thu, 25 Jan 2024 19:48:53 GMT Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vuwr2ggpx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Jan 2024 19:48:53 +0000 Received: from m0353726.ppops.net (m0353726.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 40PJZrYp006305; Thu, 25 Jan 2024 19:48:52 GMT Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vuwr2ggpn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Jan 2024 19:48:52 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 40PIqZ3o025639; Thu, 25 Jan 2024 19:48:51 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3vrsgpeax1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Jan 2024 19:48:51 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 40PJmnbq21627386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Jan 2024 19:48:49 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 394B720043; Thu, 25 Jan 2024 19:48:49 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4F97020040; Thu, 25 Jan 2024 19:48:48 +0000 (GMT) Received: from heavy.ibm.com (unknown [9.171.21.210]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 25 Jan 2024 19:48:48 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=QrqqIXBVulxLz7m0qz6pGgXWkMJr+WZUAxRKKZE8k3o=; b=jCAHuU660YkhAVs6FDp2Wxmu9JZrOsDTh7FFNlet1TOMZv7e88xbBN3CuKiqKZS11RR7 wyL8RTUNMI/UVaI07ij6aj+vHVYAK2L/5KRQRAbvl4/JICGmXR+xASyjLOXFvrM3NrE9 cPbpgNZk+vKMhJzLgRryrQTngTZ1GIu02K3mFlogW+NSi73JQCGQf3pswWV+YvQLaFdQ VMDMo+1mGKs3AH793zpKHSotqhtodvokqLNM9fvb8PYqqybQA2vGuurzmhrKvWCEkuZm d13oQqhNlr6YEvELZuBsFyGY0QxzcKj8VDU7txgjJ8jFvVVo6HZ236xOfuvrYK7j9qBw mQ== From: Ilya Leoshkevich To: Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Ed Maste , Li-Wen Hsu , Warner Losh Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal , Kyle Evans , qemu-devel@nongnu.org, Ilya Leoshkevich Subject: [PATCH 2/3] tests/vm/freebsd: Reload the sshd configuration Date: Thu, 25 Jan 2024 20:48:17 +0100 Message-ID: <20240125194840.1564-3-iii@linux.ibm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240125194840.1564-1-iii@linux.ibm.com> References: <20240125194840.1564-1-iii@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: oya6U_J9kDlLj02HNosjbM6feuAKWM9g X-Proofpoint-GUID: 1kno0e-Lp5kJWrcEm-8Z5O2L8_V5Hg_l X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-25_12,2024-01-25_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 suspectscore=0 bulkscore=0 clxscore=1015 lowpriorityscore=0 spamscore=0 malwarescore=0 mlxscore=0 phishscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401250143 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=148.163.156.1; envelope-from=iii@linux.ibm.com; helo=mx0a-001b2d01.pphosted.com X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @ibm.com) X-ZM-MESSAGEID: 1706212154121100001 Content-Type: text/plain; charset="utf-8" After console_sshd_config(), the SSH server needs to be nudged to pick up the new configs. The scripts for the other BSD flavors already do this with a reboot, but a simple reload is sufficient. Signed-off-by: Ilya Leoshkevich --- tests/vm/freebsd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/vm/freebsd b/tests/vm/freebsd index b581bd17fb7..9971bc1f2b2 100755 --- a/tests/vm/freebsd +++ b/tests/vm/freebsd @@ -108,6 +108,8 @@ class FreeBSDVM(basevm.BaseVM): prompt =3D "root@freebsd:~ #" self.console_ssh_init(prompt, "root", self._config["root_pass"]) self.console_sshd_config(prompt) + self.console_wait(prompt) + self.console_send("service sshd reload\n") =20 # setup virtio-blk #1 (tarfile) self.console_wait(prompt) --=20 2.43.0