On Sun, 16 Aug 2020 at 17:54:01 -0700, Forest wrote: >>Please also try the attached patch (with and without delay). > > Was there supposed to be an attachment? The only one I received is your pgp > signature. I don't see a patch in the bugs.debian.org copy of this thread, > either.
Ooops typical, should be better now :-) -- Guilhem.
--- a/usr/share/initramfs-tools/scripts/init-premount/dropbear
+++ b/usr/share/initramfs-tools/scripts/init-premount/dropbear
@@ -29,13 +29,14 @@
# init-bottom script to kill the remaining ipconfig processes if
# someone unlocks the rootfs from the console while the network is
# being configured
- exec /sbin/dropbear -$flags ${DROPBEAR_OPTIONS-}
+ /sbin/dropbear -$flags ${DROPBEAR_OPTIONS-} &
}
if [ -e /etc/dropbear/config ]; then
. /etc/dropbear/config
fi
. /scripts/functions
+# XXX Optionally add some delay there
# On NFS mounts, wait until the network is configured. On local mounts,
# configure the network in the background (in run_dropbear()) so someone
@@ -44,5 +45,5 @@
# network is unavailable, for instance.)
[ "$BOOT" != nfs ] || configure_networking
-run_dropbear &
+run_dropbear
echo $! >/run/dropbear.pid
signature.asc
Description: PGP signature

