From 0f6a6e2f2bdb7047736ecb0652fdd3c98e981d93 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sat, 13 Jan 2024 12:12:25 +0000 Subject: [PATCH] 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 --- test/units/testsuite-74.ssh.sh | 2 ++ 1 file changed, 2 insertions(+) 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