WORKAROUND: Change line 429 to read:

    # libargon2 uses pthread_cancel
    LIBC_DIR="$(ldd /sbin/cryptsetup | sed -nr 's#.* => 
(/.*)/libc\.so\.[0-9.-]+ \(0x[[:xdigit:]]+\)$#\1#p')"
    find -L "$LIBC_DIR" -maxdepth 1 -name 'libgcc_s.*' -type f | while read so; 
do
        copy_exec "$so"
    done

This changes the first regexp group from "(/lib.*)" to "(/.*)" allowing
/usr/lib.* as well.

After running

    update-initramfs -v -k 5.0.0-32-generic -c

cryptsetup succeeds in mounting the encrypted root.

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

Title:
  encrypted root fails to cryptsetup on disco

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1851504/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to