Package: dropbear
Version: 2022.82-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu kinetic ubuntu-patch

Hi Guilhem,

The dropbear autopkgtest has been failing on all architectures in Ubuntu,
because it tries to mkdir ~/.ssh and fails if this directory already exists.

The attached patch calls mkdir with -p, so that the call does not fail if the
directory already exists.

Please consider including this patch in Debian.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru dropbear-2022.82/debian/tests/upstream-tests 
dropbear-2022.82/debian/tests/upstream-tests
--- dropbear-2022.82/debian/tests/upstream-tests        2022-04-04 
14:32:24.000000000 -0700
+++ dropbear-2022.82/debian/tests/upstream-tests        2022-08-21 
16:05:02.000000000 -0700
@@ -17,7 +17,7 @@
 cd ./test
 
 # setup as in .github/workflows/build.yml
-mkdir -vm0700 ~/.ssh
+mkdir -p -vm0700 ~/.ssh
 $DROPBEARKEY -t ecdsa -f ~/.ssh/id_dropbear | grep ^ecdsa 
>~/.ssh/authorized_keys
 $DROPBEARKEY -t ecdsa -f ~/.ssh/id_dropbear_key2 | grep ^ecdsa | sed 's/[^ 
]*$/key2 extra/' >>~/.ssh/authorized_keys
 $DROPBEARKEY -t ecdsa -f ~/.ssh/id_dropbear_key3 | grep ^ecdsa | sed 's/[^ 
]*$/key3%char/' >>~/.ssh/authorized_keys

Reply via email to