I took a crack at patching this. Works without complaints for cryptroot-unlock as shipped with Ubuntu 18.04 Server.
Apply with: $ cd /usr/share/cryptsetup/initramfs/bin/ $ sudo patch -bp1 < /path/to/cryptroot-unlock-neutered-busybox-progs.patch $ sudo update-initramfs -uk all Problems were: 1) Busybox `ps` takes no (useful) args. 2) Busybox `grep` does not accept -z (NULL terminated line handling). 3) Busybox has no `usleep`, it DOES have a `sleep` that accepts fractional seconds. ** Patch added: "Fix cryptroot-unlock for neutered Busybox env" https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1651818/+attachment/5151893/+files/cryptroot-unlock-neutered-busybox-progs.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1651818 Title: busybox-initramfs needs different compile options to work with cryptroot-unlock To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/busybox/+bug/1651818/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs