summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-01-13 13:12:25 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-01-15 02:28:05 +0100
commit0f6a6e2f2bdb7047736ecb0652fdd3c98e981d93 (patch)
tree7f602936b6f1beb9d552d72dca80deb1f24ad312 /test
parentMerge pull request #30932 from yuwata/network-route-split-out-more (diff)
downloadsystemd-0f6a6e2f2bdb7047736ecb0652fdd3c98e981d93.tar.xz
systemd-0f6a6e2f2bdb7047736ecb0652fdd3c98e981d93.zip
test: create /run/sshd in TEST-74-AUX-UTILS
12264s [ 4819.948632] sshd[1365]: fatal: Missing privilege separation directory: /run/sshd 12264s [ 4819.952120] testsuite-74.sh[1362]: kex_exchange_identification: read: Connection reset by peer 12264s [ 4819.952120] testsuite-74.sh[1362]: Connection reset by /run/ssh-unix-local/socket port 0 https://autopkgtest.ubuntu.com/results/autopkgtest-jammy-upstream-systemd-ci-systemd-ci/jammy/amd64/s/systemd-upstream/20240113_093341_50fc7@/log.gz We copy binaries manually so some setups are missing, create the directory as needed
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-74.ssh.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/units/testsuite-74.ssh.sh b/test/units/testsuite-74.ssh.sh
index bf87a9bd3a..3372ec0b06 100755
--- a/test/units/testsuite-74.ssh.sh
+++ b/test/units/testsuite-74.ssh.sh
@@ -24,6 +24,8 @@ if [[ -v ASAN_OPTIONS ]] ; then
fi
ROOTID=$(mktemp -u)
+# Needed on Ubuntu/Debian as we copy binaries manually
+mkdir -p /run/sshd
removesshid() {
rm -f "$ROOTID" "$ROOTID".pub