From: Luca Boccassi Date: Sat, 13 Jan 2024 12:12:25 +0000 (+0000) Subject: test: create /run/sshd in TEST-74-AUX-UTILS X-Git-Tag: v256-rc1~1158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f6a6e2f2bdb7047736ecb0652fdd3c98e981d93;p=thirdparty%2Fsystemd.git 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 --- diff --git a/test/units/testsuite-74.ssh.sh b/test/units/testsuite-74.ssh.sh index bf87a9bd3a6..3372ec0b068 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