ubuntu 20.04 uses version 1.8.9.
Any plans to backport this fix?
Looks like it should be easy:
-setsid /lib/mandos/mandos-to-cryptroot-unlock &
+# Use setsid if available
+if command -v setsid >/dev/null 2>&1; then
+ setsid /lib/mandos/mandos-to-cryptroot-unlock &
+else
+
Public bug reported:
The last lines of /usr/share/initramfs-tools/scripts/init-premount/mandos are
elif [ -x /usr/bin/cryptroot-unlock ]; then
setsid /lib/mandos/mandos-to-cryptroot-unlock &
fi
As setsid is not present in the initramfs this premount script fails.
Tested on a fresh install