[Bug 1958806] [NEW] Fails to include libgcc, resulting in cryptsetup failures
Chris Halse Rogers
1958806 at bugs.launchpad.net
Mon Jan 24 01:17:55 UTC 2022
Public bug reported:
I recently rebooted my laptop, and couldn't unlock my (cryptsetup-
managed) root filesystem; after entering my passphrase, the plymouth
prompt would always say “unable to unlock /dev/nvme0n1p3_crypt”.
Dropping to text mode, I can see that cryptsetup is failing with a message like:
"libgcc_s: missing library, needed for pthread_exit”.
Indeed, in the recovery console cryptsetup will immediately crash with
that message.
I note that initramfs-tools already has some logic for detecting when
libgcc_s is needed but isn't in DT_NEEDED, but this seems to have gone
out of date.
Adding an initramfs hook to manually add libgcc_s to the initramfs
results in a bootable system again.
I don't reboot this laptop often, so I unfortunately can't narrow down
*when* this started failing better than “sometime in the last 2 months”.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: initramfs-tools 0.140ubuntu10
ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
Uname: Linux 5.13.0-20-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu75
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 24 12:08:34 2022
InstallationDate: Installed on 2021-06-26 (211 days ago)
InstallationMedia: Ubuntu 21.10.0 2021.05.28 amd64 "bcachefs" (20210622)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to jammy on 2021-10-28 (87 days ago)
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug jammy wayland-session
--
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/1958806
Title:
Fails to include libgcc, resulting in cryptsetup failures
Status in initramfs-tools package in Ubuntu:
New
Bug description:
I recently rebooted my laptop, and couldn't unlock my (cryptsetup-
managed) root filesystem; after entering my passphrase, the plymouth
prompt would always say “unable to unlock /dev/nvme0n1p3_crypt”.
Dropping to text mode, I can see that cryptsetup is failing with a message like:
"libgcc_s: missing library, needed for pthread_exit”.
Indeed, in the recovery console cryptsetup will immediately crash with
that message.
I note that initramfs-tools already has some logic for detecting when
libgcc_s is needed but isn't in DT_NEEDED, but this seems to have gone
out of date.
Adding an initramfs hook to manually add libgcc_s to the initramfs
results in a bootable system again.
I don't reboot this laptop often, so I unfortunately can't narrow down
*when* this started failing better than “sometime in the last 2
months”.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: initramfs-tools 0.140ubuntu10
ProcVersionSignature: Ubuntu 5.13.0-20.20-generic 5.13.14
Uname: Linux 5.13.0-20-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu75
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jan 24 12:08:34 2022
InstallationDate: Installed on 2021-06-26 (211 days ago)
InstallationMedia: Ubuntu 21.10.0 2021.05.28 amd64 "bcachefs" (20210622)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: Upgraded to jammy on 2021-10-28 (87 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1958806/+subscriptions
More information about the foundations-bugs
mailing list