From nobody Tue Nov 26 14:44:00 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=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1707324024; cv=none; d=zohomail.com; s=zohoarc; b=Q0sb+uP+Fovq+d+xrhv+x7iZ4+thaFZ2mT/yqIj77zWeKbJo6iyUkHFXH1BwqN+x7sOBgK9fdpggtzurggBWPivCG0X/u4NevQloRM73hhuilorxsCfKQ1wnacsCfHdxmbalJfsPwcHqQdm2un1PhHg89Ge8MIun7x28FXrS0m8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1707324024; h=Content-Type: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=sv6+6UUCSeP9lDN9ptL/PjxKqIdnYqTvePhCbUVP8t0=; b=bQqBTA3Yy3Gcal7bv9HXG4NU9ICCgI0j4p3XGVvcvex4Jz2ni3svPiI7OLZJIbBzMHyVftXbJlu5eZeSd4mtHS0oKzSxW3CLpLIg2r2DB7l3HKWjrDBqR8WbUNicLzDHI4JNRRr9kwaTZROeNHQyw0+syGg0kkUgNKkAqYLIEvk= 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 170732402437597.39115245729852; Wed, 7 Feb 2024 08:40:24 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXkwP-0002wg-5f; Wed, 07 Feb 2024 11:38:29 -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 1rXkwL-0002t0-Bp for qemu-devel@nongnu.org; Wed, 07 Feb 2024 11:38:25 -0500 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rXkwH-000683-UI for qemu-devel@nongnu.org; Wed, 07 Feb 2024 11:38:25 -0500 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-41008ab427fso7700515e9.0 for ; Wed, 07 Feb 2024 08:38:21 -0800 (PST) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id m14-20020a05600c3b0e00b004100826da82sm2653265wms.21.2024.02.07.08.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 08:38:17 -0800 (PST) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id A44A85F8E1; Wed, 7 Feb 2024 16:38:12 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707323900; x=1707928700; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sv6+6UUCSeP9lDN9ptL/PjxKqIdnYqTvePhCbUVP8t0=; b=N5jsd9Eebr4ArqWnSXBa9iaQ438x/q7V8XQAXZEXZr1qRsRkuUIT9r4XRVJRMznGpw bPYjyLsg1CPxy68OLFmbUZfkVmFW4Gxe6+kLYlRvwYnNB8/xU+S9eny/2f711ncfeZhX OdQTdY/pDa8d7npNbnbkpNrQ7FJIiozpOkWifmhYo0KiYf0aPo1KaZUXbluiF9AY9pKz NwNJ3sdF1JGfFUpZw1CtfOzMWp9afn5yYlAqN/fyXROzznq5R58r/FVV8xWV8XUIBhEm HmGWMiFk229VY1THL6xMgikWUAPzLNyYziZCJklrHnY8jawzvBuHu5UYMxq4c7Ne/t3u kvLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707323900; x=1707928700; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sv6+6UUCSeP9lDN9ptL/PjxKqIdnYqTvePhCbUVP8t0=; b=pL1DVB+CfnUWy38uYYkBSnpSXSA2xo4GQPWPwbW9WH4js1EsC44fUWh+R+Ii3yrZPg jSREkY+T+isJyEjnTo93/XU2mcEmIzRosewSeUxIt5Fq9Kk1c/4kLhsbbARSZHL/nqHD xnW9p0zKvw8NiiJ8p7EHTHYvmiqdEubLwa1PvkpKb+CTR/FZ1U4hcalLvgjZzLCrQINm WBJ4HNtK4zTRzCg6S+XLgi20KPxzBA+QIa+sxIjROu48SC2W/Gdql8zvKC/7IHQdRnvQ WLyw0imJDB0qa+wv+hSTF8pG4IpJzSmK+YG9xgX68KawX8J9T46qrSoUnT6Mo8DVJQx7 LYSQ== X-Gm-Message-State: AOJu0YyvQnKWTqJX9nBdUOiYl50VVtmrXGt/bxiu5MWOoIdRHfohWGxe 33eaXr04Tp2FW2VA8nbJoFLYNWK6eXd5oatMfv8CuYtJB0okAVQesfX4Xls5SXs= X-Google-Smtp-Source: AGHT+IELwPIEg9gWx3ouz5N0hWJp20glM2q6RyKduffMLrY91xLqU1zUfcajWqOsQhUxRG1mZbaNtw== X-Received: by 2002:a05:600c:3b97:b0:410:8f2:262a with SMTP id n23-20020a05600c3b9700b0041008f2262amr2251051wms.13.1707323900427; Wed, 07 Feb 2024 08:38:20 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUc+/g0VBasm2gywElwD8kgkQjRnvf+5mxqMQ475EaW3HDaBUlVqVt7TNQPLz7Hzmn8LVcnhGm48FKUkWT9Pxg90l511VSDBEDsWrCWkasgdcXw2uF/eFqZNlY+XfQgKAolJE5FqBu5ABTssn0oGjz+Y/3BWQqkJyrVTJTXX4Z6/x/2/9KbSYmyBiz4FmqQ363UhlfE4q3VKzNNFGZzSSWtswqqFwn3goXrqLR+XbFGBizgh6JIDHcE6obEgc7AYd50t8cyQlePKyCCRUKYRdUMR2OWOZJ6r2nvtxvfmGLLEgJDuxjBfdg40MQ5MKtt4Fk0ObLAbeh34lu/Uc17ZrNsXOVWNqHFLmdrRO8w5DtLsc/Nn8uikVkWvliX33qA3FWnf/sp7FcWGluRcx/bnhE+sxNldnp25XZVgj9A0WbPFJ8+oif1EJW+MWknZ2JSXMP6whEmMxI1eu7kEpS5cfD9JqFm0Qd86btp0eO0sAPmJB1TVau8Xp+SU4Kg3Qthdrp/HNbERDE8ngelmfVlf4d0yhnrk+qzxZTcb1PvdnSZYtacNCAAdjw5kN7W96s/ufqW7xBl+oKvGLtFQvXkOlP+nsqmVkJlZLmLYTjSDf7Vxy/IYj/M7DRYIDhmxPJDy+mhxGMScrSfWL5Yb1hfbpAV7pvZcQ2GyNP7N1bzy77WybqmciVkxjq+v3OYdgSuMv8d570ta7ZkgdBHga4DqgCqhaZJxxKON5bg+JgLjED+9ws8xYElslpGRrqgPjCqHjjd3i+ieb+LyxpOSVaKpbb7Fi0K720kVgDJ9DNX71gVWGXAvsea1gYMi9KrSsOmoPOT+55TOQGpfRt7kNRixr3RZekv/ga8mFZEzZ51 From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: devel@lists.libvirt.org, Jiaxun Yang , Daniel Henrique Barboza , Chris Wulff , Weiwei Li , Bin Meng , Thomas Huth , qemu-riscv@nongnu.org, Marek Vasut , Liu Zhiwei , Aleksandar Rikalo , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Alistair Francis , Warner Losh , Paolo Bonzini , Aurelien Jarno , Beraldo Leal , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Max Filippov , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Ed Maste , Palmer Dabbelt , Li-Wen Hsu , Laurent Vivier , Kyle Evans , Wainer dos Santos Moschetta , Riku Voipio , Ilya Leoshkevich Subject: [PATCH v2 06/14] tests/vm/freebsd: Reload the sshd configuration Date: Wed, 7 Feb 2024 16:38:04 +0000 Message-Id: <20240207163812.3231697-7-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240207163812.3231697-1-alex.bennee@linaro.org> References: <20240207163812.3231697-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=2a00:1450:4864:20::331; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x331.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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 @linaro.org) X-ZM-MESSAGEID: 1707324025765100005 From: Ilya Leoshkevich 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. Reviewed-by: Thomas Huth Signed-off-by: Ilya Leoshkevich Message-Id: <20240206002344.12372-3-iii@linux.ibm.com> Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Warner Losh --- tests/vm/freebsd | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/vm/freebsd b/tests/vm/freebsd index b581bd17fb7..1247f40a385 100755 --- a/tests/vm/freebsd +++ b/tests/vm/freebsd @@ -108,6 +108,7 @@ 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_send(prompt, "service sshd reload\n") =20 # setup virtio-blk #1 (tarfile) self.console_wait(prompt) --=20 2.39.2