Missing libgcc_s.so.1 decrypting partition on boot

Bug #1861757 reported by Maximiliano Bertacchini
This bug affects 2 people
Affects Status Importance Assigned to Milestone
initramfs-tools (Debian)
Fix Released
initramfs-tools (Ubuntu)
Fix Released

Bug Description

On focal with -proposed repo enabled. Updated all packages and rebooted. Upon entering the LUKS passphrase for disk decryption I get the following message, and cannot boot:

  "libgcc_s.so.1 must be installed for pthread_cancel to work"

Booting with the previous kernel works.

Found this question with an identical issue: https://askubuntu.com/questions/1190687/ubuntu-19-10-missing-lib-gcc-so-1-after-kernel-update, which points to "/usr/share/initramfs-tools/hooks/cryptroot" being unable to find that lib. It was looking in "/lib/x86_64-linux-gnu/", but libgcc_s.so.1 is not there, but at "/usr/lib/" and "/usr/lib/x86_64-linux-gnu/". Temporarily fixed by copying the file to "/lib/x86_64-linux-gnu/" and regenerating the initramdisk.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: libgcc1 1:10-20200202-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-13.16-generic 5.4.16
Uname: Linux 5.4.0-13-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
CurrentDesktop: KDE
Date: Tue Feb 4 00:05:48 2020
InstallationDate: Installed on 2019-09-23 (133 days ago)
InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Alpha amd64 (20190917)
SourcePackage: gcc-10
UpgradeStatus: Upgraded to focal on 2020-01-24 (10 days ago)

Revision history for this message
Maximiliano Bertacchini (maxiberta) wrote :
summary: - Missing libgcc_s.so.1 booting from encrypted partition
+ Missing libgcc_s.so.1 decrypting partition on boot
affects: ubuntu → gcc-10 (Ubuntu)
Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1861757] [NEW] Missing libgcc_s.so.1 decrypting partition on boot

On February 3, 2020 7:28:50 PM PST, Launchpad Bug Tracker <email address hidden> wrote:
>You have been subscribed to a public bug:
>On focal with -proposed repo enabled.

You have identified a bug, but this is not a supported end user configuration. I believe the fix for this issue is already in progress, if not already resolved in -proposed.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Changed in gcc-10 (Ubuntu):
status: New → Invalid
Changed in cryptsetup (Ubuntu):
status: New → Invalid
Changed in initramfs-tools (Ubuntu):
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

devel-proposed series contains knowngly incompatible and broken packages =) why are you using something that automatic CI is telling us is broken?
As soon as CI passes packages migrate to devel (release) pocket and are then usable for human consumption.

Changed in initramfs-tools (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package initramfs-tools - 0.133ubuntu14

initramfs-tools (0.133ubuntu14) focal; urgency=medium

  * Handle both libgcc1 and libgcc-s1 locations.

initramfs-tools (0.133ubuntu13) focal; urgency=medium

  * Cherrypick upstream patch to include libgcc_s for libpthread. LP:

 -- Dimitri John Ledkov <email address hidden> Tue, 04 Feb 2020 23:51:00 +0000

Changed in initramfs-tools (Ubuntu):
status: In Progress → Fix Released
Mathew Hodson (mhodson)
no longer affects: cryptsetup (Ubuntu)
no longer affects: gcc-10 (Ubuntu)
Changed in initramfs-tools (Debian):
status: Unknown → Fix Committed
Changed in initramfs-tools (Debian):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.