[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 06/14] tests/vm/freebsd: Reload the sshd configuration
From: |
Alex Bennée |
Subject: |
[PATCH v2 06/14] tests/vm/freebsd: Reload the sshd configuration |
Date: |
Wed, 7 Feb 2024 16:38:04 +0000 |
From: Ilya Leoshkevich <iii@linux.ibm.com>
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 <thuth@redhat.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20240206002344.12372-3-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
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)
--
2.39.2
- [PATCH v2 00/14] maintainer updates for 9.0 pre-PR (docker, plugin tests, deprecation, elf, semihosting, gdbstub), Alex Bennée, 2024/02/07
- [PATCH v2 03/14] configure: run plugin TCG tests again, Alex Bennée, 2024/02/07
- [PATCH v2 01/14] tests/docker: Add sqlite3 module to openSUSE Leap container, Alex Bennée, 2024/02/07
- [PATCH v2 05/14] tests/vm: Set UseDNS=no in the sshd configuration, Alex Bennée, 2024/02/07
- [PATCH v2 04/14] Revert "hw/elf_ops: Ignore loadable segments with zero size", Alex Bennée, 2024/02/07
- [PATCH v2 07/14] test-util-filemonitor: Adapt to the FreeBSD inotify rename semantics, Alex Bennée, 2024/02/07
- [PATCH v2 06/14] tests/vm/freebsd: Reload the sshd configuration,
Alex Bennée <=
- [PATCH v2 10/14] gdbstub: Expose TARGET_SIGTRAP in a target-agnostic way, Alex Bennée, 2024/02/07
- [PATCH v2 02/14] docs: mark CRIS support as deprecated, Alex Bennée, 2024/02/07
- [PATCH v2 09/14] kconfig: use "select" to enable semihosting, Alex Bennée, 2024/02/07
- [PATCH v2 08/14] meson: Link with libinotify on FreeBSD, Alex Bennée, 2024/02/07
- [PATCH v2 12/14] gdbstub: Add syscall entry/return hooks, Alex Bennée, 2024/02/07
- [PATCH v2 14/14] tests/tcg: Add the syscall catchpoint gdbstub test, Alex Bennée, 2024/02/07
- [PATCH v2 11/14] gdbstub: Allow specifying a reason in stop packets, Alex Bennée, 2024/02/07