From patchwork Wed Feb 7 16:38:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 770645 Delivered-To: patch@linaro.org Received: by 2002:a5d:40c1:0:b0:33b:4db1:f5b3 with SMTP id b1csp401067wrq; Wed, 7 Feb 2024 08:40:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvv2OFtCjLl/4wVRPXSfmaYMrN3X/hsYmDLpt3ENqMQzFtBSxaFzAnBfqE33xQuxgg0xle X-Received: by 2002:a05:620a:1585:b0:783:bd57:f8f5 with SMTP id d5-20020a05620a158500b00783bd57f8f5mr6413743qkk.77.1707324023828; Wed, 07 Feb 2024 08:40:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707324023; cv=none; d=google.com; s=arc-20160816; b=GF7ngWFo2szFlbTaKfMqmZkjb5hBV1N30ag1kCSSTg2fxakgHieWo6gIHSycMcywXw CjLAgRvCI5H76Jp/QQAWieNHEvWBH3uuWELKcU94/KvOrBhi2tBNJysH/tVTCD1rjrpt P33WUSAZquCtVwMw8tHDePG+LNjM2UUD+ClyJv6cDQ/li7zUsRDTpuQG/im1bIseqRFN dLAB1UF0zgChpMLcuc7LrMTI7T3ZxuEmzCS4VZiOf3W2OBXTaVCbW1dDhOerOGs2Efm8 R7DUQmv8tJa7R3/GuWg2V+YRe74VWfUqwWK9DGhRASqOt7rSnvg3FDQ9asa2O+hpHvBx tueQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=sv6+6UUCSeP9lDN9ptL/PjxKqIdnYqTvePhCbUVP8t0=; fh=kraneBanPTid1qO2tUFY6ao+FTCRWHMtOjISepCjraI=; b=cl8Pgzcj49SucAi52CuL92NUs/WuUQU/M4OKyfMkbxpg0p+GoNui6jSMvNF2J2i7Sz bsqpZGIle4bdtMWpdgCZr0xPh8VVI8OkVwfCKqSVxK/U9+tLZ+3pvAPEmD2YXune+E4A 5zzAj5v6tooEUDRsKjkhjfP31FmrJq/rM/F0ibCalgZVl6lRsiJeshDXvWbxR+baIP+x c9H9YhE1j6UwbXQn/Xt7TQNNSzezzqY3rtzr2KmngtSj9sA6pegV2iryw5zuWexfNGcf 7QP8+oSLTqzeV2mtrUXiRss1lmjvdvmSAyZiYqFf8SoliCnvGG/B+2dN/wG2ZArDptI3 olsQ==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N5jsd9Ee; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCV0uvcbkZpm1p8wF0+QAbpkrp0r67VjV+TxeynxIhiX6rcX3DkOhBwayon0IS52sD+uVUzBLz4BFYZtSNtB8/un Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f17-20020a05620a12f100b007858aed2194si1426495qkl.140.2024.02.07.08.40.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 07 Feb 2024 08:40:23 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N5jsd9Ee; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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) 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-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 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) From: =?utf-8?q?Alex_Benn=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?= =?utf-8?q?_Lureau?= , =?utf-8?q?Philippe_Mathi?= =?utf-8?q?eu-Daud=C3=A9?= , Alistair Francis , Warner Losh , Paolo Bonzini , Aurelien Jarno , Beraldo Leal , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Max Filippov , =?utf-8?q?Alex_Benn=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 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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ée 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 = "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") # setup virtio-blk #1 (tarfile) self.console_wait(prompt)