[Bug 1851504] Re: encrypted root fails to cryptsetup on disco
Launchpad Bug Tracker
1851504 at bugs.launchpad.net
Sun Nov 17 02:30:45 UTC 2019
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: initramfs-tools (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1851504
Title:
encrypted root fails to cryptsetup on disco
Status in cryptsetup:
New
Status in initramfs-tools package in Ubuntu:
Confirmed
Bug description:
There is a subtle error message during update-initramfs:
find: '': No such file or directory
I could trace this to /usr/share/initramfs-tools/hooks/cryptroot line
430:
# libargon2 uses pthread_cancel
LIBC_DIR="$(ldd /sbin/cryptsetup | sed -nr 's#.* => (/lib.*)/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
ldd output shows:
libc.so.6 => /usr/lib/x86_64-linux-gnu/libc.so.6
(0x00007f41aa8c4000)
so the library is not in /lib anymore but /usr/lib
The root cause of this may be an update to libc, however the script
may need adjusting anyway.
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
To manage notifications about this bug go to:
https://bugs.launchpad.net/cryptsetup/+bug/1851504/+subscriptions
More information about the foundations-bugs
mailing list