[Bug 1931287] Re: mandos premount script needs setsid which is not in initrd

2021-06-12 Thread Christian Rusa
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 +

[Bug 1931287] [NEW] mandos premount script needs setsid which is not in initrd

2021-06-08 Thread Christian Rusa
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