I have worked around this in my Xenial dropbear/initrd environment by
replacing the package /usr/share/initramfs-tools/scripts/init-
bottom/dropbear with:

##############################################
#!/bin/sh
#From /usr/share/initramfs-tools/scripts/init-bottom/dropbear

PREREQ=""

prereqs() {
        echo "$PREREQ"
}

case "$1" in
        prereqs)
                prereqs
                exit 0
        ;;
esac

. /scripts/functions

[ -s /run/dropbear.pid ] || exit 0

log_begin_msg "Stopping dropbear and its children"

pid=$(cat /run/dropbear.pid)
for child in `ps l | awk '$4=="'$pid'"{print $3}'`; do
  kill $child
done
kill $pid
##############################################

Hope that might help someone.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1652091

Title:
  xargs not contained in initramdisk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1652091/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to