Activity log for bug #1880853

Date Who What changed Old value New value Message
2020-05-27 10:02:01 Sorah Fukumori bug added bug
2020-05-27 10:02:01 Sorah Fukumori attachment added glibc-try.log https://bugs.launchpad.net/bugs/1880853/+attachment/5377321/+files/glibc-try.log
2020-05-27 10:11:05 Sorah Fukumori bug task added initramfs-tools (Ubuntu)
2020-05-27 12:10:47 Balint Reczey tags arm64 ec2-images focal arm64 ec2-images focal rls-ff-incoming
2020-05-27 12:34:21 Fumihito YOSHIDA bug task added cloud-images
2020-05-27 12:34:36 Fumihito YOSHIDA bug added subscriber Fumihito YOSHIDA
2020-05-27 15:23:28 Sorah Fukumori bug task added btrfs-progs (Ubuntu)
2020-05-28 16:45:18 Brian Murray tags arm64 ec2-images focal rls-ff-incoming arm64 ec2-images focal
2020-05-28 16:46:01 Brian Murray nominated for series Ubuntu Focal
2020-05-28 16:46:01 Brian Murray bug task added glibc (Ubuntu Focal)
2020-05-28 16:46:01 Brian Murray bug task added initramfs-tools (Ubuntu Focal)
2020-05-28 16:46:01 Brian Murray bug task added btrfs-progs (Ubuntu Focal)
2020-05-29 12:32:51 Francis Ginther tags arm64 ec2-images focal arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af
2020-05-29 18:34:33 Dimitri John Ledkov btrfs-progs (Ubuntu): status New Triaged
2020-05-29 18:34:37 Dimitri John Ledkov initramfs-tools (Ubuntu): status New Triaged
2020-05-29 19:40:10 Dimitri John Ledkov btrfs-progs (Ubuntu): status Triaged Invalid
2020-05-29 19:40:14 Dimitri John Ledkov btrfs-progs (Ubuntu Focal): status New Invalid
2020-05-29 19:40:17 Dimitri John Ledkov initramfs-tools (Ubuntu): importance Undecided Critical
2020-05-29 19:40:20 Dimitri John Ledkov initramfs-tools (Ubuntu Focal): importance Undecided Critical
2020-05-29 19:40:26 Dimitri John Ledkov glibc (Ubuntu): status New Invalid
2020-05-29 19:40:29 Dimitri John Ledkov glibc (Ubuntu Focal): status New Invalid
2020-05-29 19:40:44 Dimitri John Ledkov attachment added lp1880853.patch https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1880853/+attachment/5378575/+files/lp1880853.patch
2020-05-29 19:46:40 Dimitri John Ledkov initramfs-tools (Ubuntu Focal): status New In Progress
2020-05-29 19:51:46 Dimitri John Ledkov description With Ubuntu 20.04 on AWS m6g.* instance family, installing libc6-lse lets update-initramfs always fail with the following error: ubuntu@ip-10-18-23-79:~$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.4.0-1011-aws E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-initramfs: failed for /boot/initrd.img-5.4.0-1011-aws with 1. ## Steps to reproduce (on AWS) ### With focal 20200423 AMI 1. Find the following AMI and launch on m6g instance family ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200423 2. Run: sudo apt update && sudo apt install libc6-lse 3. Try: sudo update-initramfs -u ### With focal 20200522 AMI 1. Find the following AMI and launch on m6g instance family ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522 2. Try: sudo update-initramfs -u ## Note - The entire log of the above steps performed on 20200423 AMI is attached. - Latest cloud-image AMI "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522" includes libc6-lse. On 20200522 AMI, this doesn't reproduce after removing libc6-lse manually. - This doesn't reproduce on EC2 a1.* instance family. ## Expected behavior Does not fail. ## Background to find this bug As the 20200522 AMI includes libc6-lse out-of-the-box & apt-get upgrade pulls newer package that triggers update-initramfs, apt-get upgrade always fail on 20200522 AMI. the following is an apport report on 20200423 AMI: ---- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27 Architecture: arm64 CasperMD5CheckResult: skip Date: Wed May 27 09:52:16 2020 Dependencies: gcc-10-base 10-20200411-0ubuntu1 libc6 2.31-0ubuntu9 libcrypt1 1:4.4.10-10ubuntu4 libgcc-s1 10-20200411-0ubuntu1 libidn2-0 2.2.0-2 libunistring2 0.9.10-2 DistroRelease: Ubuntu 20.04 Ec2AMI: ami-061102f51d47b1c24 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: ap-northeast-1c Ec2InstanceType: m6g.medium Ec2Kernel: unavailable Ec2Ramdisk: unavailable Package: libc6-lse 2.31-0ubuntu9 PackageArchitecture: arm64 ProcCpuinfoMinimal: processor : 0 BogoMIPS : 243.75 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x3 CPU part : 0xd0c CPU revision : 1 ProcEnviron: LANG=C.UTF-8 TERM=screen-256color PATH=(custom, no user) SHELL=/bin/bash ProcVersionSignature: Ubuntu 5.4.0-1009.9-aws 5.4.30 SourcePackage: glibc Tags: focal ec2-images Uname: Linux 5.4.0-1009-aws aarch64 UpgradeStatus: No upgrade log present (probably fresh install) [Impact] * update-initramfs -u fails on arm64 m6g instances in AWS [Test Case] * launch m6g instance in AWS * install libc6-lse (if not installed) * run $ update-initramfs -u * It should suceed [Regression Potential] * Adding one more path to libgcc_s1 resolution. This will still fail if something compiles libc6 for _two_ optimisations like /lib/$arch/foo/bar/libpthread. [Other Info] * libphtread dlopens libgcc_s1, thus whenever libpthread is needed in the initrd libgcc_s1 must be copied in too. However the logic to find matching libgcc_s1 is broken for optimizied builds of libc6 without optimized build of libgcc_s1. I think libpthread should link against libgcc_s1 to prevent these issues. * Original bug report With Ubuntu 20.04 on AWS m6g.* instance family, installing libc6-lse lets update-initramfs always fail with the following error: ubuntu@ip-10-18-23-79:~$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.4.0-1011-aws E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-initramfs: failed for /boot/initrd.img-5.4.0-1011-aws with 1. ## Steps to reproduce (on AWS) ### With focal 20200423 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200423 2. Run: sudo apt update && sudo apt install libc6-lse 3. Try: sudo update-initramfs -u ### With focal 20200522 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522 2. Try: sudo update-initramfs -u ## Note - The entire log of the above steps performed on 20200423 AMI is attached. - Latest cloud-image AMI "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522" includes libc6-lse. On 20200522 AMI, this doesn't reproduce after removing libc6-lse manually. - This doesn't reproduce on EC2 a1.* instance family. ## Expected behavior Does not fail. ## Background to find this bug As the 20200522 AMI includes libc6-lse out-of-the-box & apt-get upgrade pulls newer package that triggers update-initramfs, apt-get upgrade always fail on 20200522 AMI. the following is an apport report on 20200423 AMI: ---- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27 Architecture: arm64 CasperMD5CheckResult: skip Date: Wed May 27 09:52:16 2020 Dependencies:  gcc-10-base 10-20200411-0ubuntu1  libc6 2.31-0ubuntu9  libcrypt1 1:4.4.10-10ubuntu4  libgcc-s1 10-20200411-0ubuntu1  libidn2-0 2.2.0-2  libunistring2 0.9.10-2 DistroRelease: Ubuntu 20.04 Ec2AMI: ami-061102f51d47b1c24 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: ap-northeast-1c Ec2InstanceType: m6g.medium Ec2Kernel: unavailable Ec2Ramdisk: unavailable Package: libc6-lse 2.31-0ubuntu9 PackageArchitecture: arm64 ProcCpuinfoMinimal:  processor : 0  BogoMIPS : 243.75  Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs  CPU implementer : 0x41  CPU architecture: 8  CPU variant : 0x3  CPU part : 0xd0c  CPU revision : 1 ProcEnviron:  LANG=C.UTF-8  TERM=screen-256color  PATH=(custom, no user)  SHELL=/bin/bash ProcVersionSignature: Ubuntu 5.4.0-1009.9-aws 5.4.30 SourcePackage: glibc Tags: focal ec2-images Uname: Linux 5.4.0-1009-aws aarch64 UpgradeStatus: No upgrade log present (probably fresh install)
2020-05-29 19:52:44 Dimitri John Ledkov description [Impact] * update-initramfs -u fails on arm64 m6g instances in AWS [Test Case] * launch m6g instance in AWS * install libc6-lse (if not installed) * run $ update-initramfs -u * It should suceed [Regression Potential] * Adding one more path to libgcc_s1 resolution. This will still fail if something compiles libc6 for _two_ optimisations like /lib/$arch/foo/bar/libpthread. [Other Info] * libphtread dlopens libgcc_s1, thus whenever libpthread is needed in the initrd libgcc_s1 must be copied in too. However the logic to find matching libgcc_s1 is broken for optimizied builds of libc6 without optimized build of libgcc_s1. I think libpthread should link against libgcc_s1 to prevent these issues. * Original bug report With Ubuntu 20.04 on AWS m6g.* instance family, installing libc6-lse lets update-initramfs always fail with the following error: ubuntu@ip-10-18-23-79:~$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.4.0-1011-aws E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-initramfs: failed for /boot/initrd.img-5.4.0-1011-aws with 1. ## Steps to reproduce (on AWS) ### With focal 20200423 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200423 2. Run: sudo apt update && sudo apt install libc6-lse 3. Try: sudo update-initramfs -u ### With focal 20200522 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522 2. Try: sudo update-initramfs -u ## Note - The entire log of the above steps performed on 20200423 AMI is attached. - Latest cloud-image AMI "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522" includes libc6-lse. On 20200522 AMI, this doesn't reproduce after removing libc6-lse manually. - This doesn't reproduce on EC2 a1.* instance family. ## Expected behavior Does not fail. ## Background to find this bug As the 20200522 AMI includes libc6-lse out-of-the-box & apt-get upgrade pulls newer package that triggers update-initramfs, apt-get upgrade always fail on 20200522 AMI. the following is an apport report on 20200423 AMI: ---- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27 Architecture: arm64 CasperMD5CheckResult: skip Date: Wed May 27 09:52:16 2020 Dependencies:  gcc-10-base 10-20200411-0ubuntu1  libc6 2.31-0ubuntu9  libcrypt1 1:4.4.10-10ubuntu4  libgcc-s1 10-20200411-0ubuntu1  libidn2-0 2.2.0-2  libunistring2 0.9.10-2 DistroRelease: Ubuntu 20.04 Ec2AMI: ami-061102f51d47b1c24 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: ap-northeast-1c Ec2InstanceType: m6g.medium Ec2Kernel: unavailable Ec2Ramdisk: unavailable Package: libc6-lse 2.31-0ubuntu9 PackageArchitecture: arm64 ProcCpuinfoMinimal:  processor : 0  BogoMIPS : 243.75  Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs  CPU implementer : 0x41  CPU architecture: 8  CPU variant : 0x3  CPU part : 0xd0c  CPU revision : 1 ProcEnviron:  LANG=C.UTF-8  TERM=screen-256color  PATH=(custom, no user)  SHELL=/bin/bash ProcVersionSignature: Ubuntu 5.4.0-1009.9-aws 5.4.30 SourcePackage: glibc Tags: focal ec2-images Uname: Linux 5.4.0-1009-aws aarch64 UpgradeStatus: No upgrade log present (probably fresh install) [Impact]  * update-initramfs -u fails on arm64 m6g instances in AWS [Test Case]  * launch m6g instance in AWS  * install libc6-lse (if not installed)  * run $ update-initramfs -u  * It should suceed [Regression Potential]  * Adding one more path to libgcc_s1 resolution. This will still fail if something compiles libc6 for _two_ optimisations like /lib/$arch/foo/bar/libpthread. [Other Info]  * libphtread dlopens libgcc_s1, thus whenever libpthread is needed in the initrd libgcc_s1 must be copied in too. However the logic to find matching libgcc_s1 is broken for optimizied builds of libc6 without optimized build of libgcc_s1. I think libpthread should link against libgcc_s1 to prevent these issues.  * Original bug report With Ubuntu 20.04 on AWS m6g.* instance family, installing libc6-lse lets update-initramfs always fail with the following error: ubuntu@ip-10-18-23-79:~$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.4.0-1011-aws E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-initramfs: failed for /boot/initrd.img-5.4.0-1011-aws with 1. ## Steps to reproduce (on AWS) ### With focal 20200423 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200423 2. Run: sudo apt update && sudo apt install libc6-lse 3. Try: sudo update-initramfs -u ### With focal 20200522 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522 2. Try: sudo update-initramfs -u ## Note - The entire log of the above steps performed on 20200423 AMI is attached. - Latest cloud-image AMI "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522" includes libc6-lse. On 20200522 AMI, this doesn't reproduce after removing libc6-lse manually. - This doesn't reproduce on EC2 a1.* instance family. ## Expected behavior Does not fail. ## Background to find this bug As the 20200522 AMI includes libc6-lse out-of-the-box & apt-get upgrade pulls newer package that triggers update-initramfs, apt-get upgrade always fail on 20200522 AMI. the following is an apport report on 20200423 AMI: ---- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27 Architecture: arm64 CasperMD5CheckResult: skip Date: Wed May 27 09:52:16 2020 Dependencies:  gcc-10-base 10-20200411-0ubuntu1  libc6 2.31-0ubuntu9  libcrypt1 1:4.4.10-10ubuntu4  libgcc-s1 10-20200411-0ubuntu1  libidn2-0 2.2.0-2  libunistring2 0.9.10-2 DistroRelease: Ubuntu 20.04 Ec2AMI: ami-061102f51d47b1c24 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: ap-northeast-1c Ec2InstanceType: m6g.medium Ec2Kernel: unavailable Ec2Ramdisk: unavailable Package: libc6-lse 2.31-0ubuntu9 PackageArchitecture: arm64 ProcCpuinfoMinimal:  processor : 0  BogoMIPS : 243.75  Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs  CPU implementer : 0x41  CPU architecture: 8  CPU variant : 0x3  CPU part : 0xd0c  CPU revision : 1 ProcEnviron:  LANG=C.UTF-8  TERM=screen-256color  PATH=(custom, no user)  SHELL=/bin/bash ProcVersionSignature: Ubuntu 5.4.0-1009.9-aws 5.4.30 SourcePackage: glibc Tags: focal ec2-images Uname: Linux 5.4.0-1009-aws aarch64 UpgradeStatus: No upgrade log present (probably fresh install)
2020-05-29 20:25:28 Ubuntu Foundations Team Bug Bot tags arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af patch
2020-05-29 23:10:25 Dimitri John Ledkov bug added subscriber Ubuntu Stable Release Updates Team
2020-06-01 01:11:15 Launchpad Janitor initramfs-tools (Ubuntu): status Triaged Fix Released
2020-06-03 22:18:27 Brian Murray initramfs-tools (Ubuntu Focal): status In Progress Fix Committed
2020-06-03 22:18:29 Brian Murray bug added subscriber SRU Verification
2020-06-03 22:18:33 Brian Murray tags arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af patch arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af patch verification-needed verification-needed-focal
2020-06-04 10:34:08 Sorah Fukumori tags arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af patch verification-needed verification-needed-focal arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af patch verification-done-focal verification-needed
2020-06-04 16:08:26 Gianfranco Costamagna tags arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af patch verification-done-focal verification-needed arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af patch verification-done verification-done-focal
2020-06-06 14:16:00 Launchpad Janitor merge proposal linked https://code.launchpad.net/~xnox/ubuntu/+source/initramfs-tools/+git/initramfs-tools/+merge/385243
2020-06-16 00:10:23 Launchpad Janitor initramfs-tools (Ubuntu Focal): status Fix Committed Fix Released
2020-06-16 00:10:35 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2020-06-17 11:06:09 Balint Reczey bug added subscriber Ubuntu Security Team
2020-06-24 20:38:02 Balint Reczey nominated for series Ubuntu Bionic
2020-06-24 20:38:02 Balint Reczey bug task added glibc (Ubuntu Bionic)
2020-06-24 20:38:02 Balint Reczey bug task added initramfs-tools (Ubuntu Bionic)
2020-06-24 20:38:02 Balint Reczey bug task added btrfs-progs (Ubuntu Bionic)
2020-06-24 20:38:22 Balint Reczey glibc (Ubuntu Bionic): status New Invalid
2020-06-24 20:38:37 Balint Reczey btrfs-progs (Ubuntu Bionic): status New Invalid
2020-06-25 12:55:12 Francis Ginther tags arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af patch verification-done verification-done-focal arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af id-5ed6b0877aa3de39fa0b89e6 patch verification-done verification-done-focal
2020-09-02 14:53:23 Dimitri John Ledkov description [Impact]  * update-initramfs -u fails on arm64 m6g instances in AWS [Test Case]  * launch m6g instance in AWS  * install libc6-lse (if not installed)  * run $ update-initramfs -u  * It should suceed [Regression Potential]  * Adding one more path to libgcc_s1 resolution. This will still fail if something compiles libc6 for _two_ optimisations like /lib/$arch/foo/bar/libpthread. [Other Info]  * libphtread dlopens libgcc_s1, thus whenever libpthread is needed in the initrd libgcc_s1 must be copied in too. However the logic to find matching libgcc_s1 is broken for optimizied builds of libc6 without optimized build of libgcc_s1. I think libpthread should link against libgcc_s1 to prevent these issues.  * Original bug report With Ubuntu 20.04 on AWS m6g.* instance family, installing libc6-lse lets update-initramfs always fail with the following error: ubuntu@ip-10-18-23-79:~$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.4.0-1011-aws E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-initramfs: failed for /boot/initrd.img-5.4.0-1011-aws with 1. ## Steps to reproduce (on AWS) ### With focal 20200423 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200423 2. Run: sudo apt update && sudo apt install libc6-lse 3. Try: sudo update-initramfs -u ### With focal 20200522 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522 2. Try: sudo update-initramfs -u ## Note - The entire log of the above steps performed on 20200423 AMI is attached. - Latest cloud-image AMI "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522" includes libc6-lse. On 20200522 AMI, this doesn't reproduce after removing libc6-lse manually. - This doesn't reproduce on EC2 a1.* instance family. ## Expected behavior Does not fail. ## Background to find this bug As the 20200522 AMI includes libc6-lse out-of-the-box & apt-get upgrade pulls newer package that triggers update-initramfs, apt-get upgrade always fail on 20200522 AMI. the following is an apport report on 20200423 AMI: ---- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27 Architecture: arm64 CasperMD5CheckResult: skip Date: Wed May 27 09:52:16 2020 Dependencies:  gcc-10-base 10-20200411-0ubuntu1  libc6 2.31-0ubuntu9  libcrypt1 1:4.4.10-10ubuntu4  libgcc-s1 10-20200411-0ubuntu1  libidn2-0 2.2.0-2  libunistring2 0.9.10-2 DistroRelease: Ubuntu 20.04 Ec2AMI: ami-061102f51d47b1c24 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: ap-northeast-1c Ec2InstanceType: m6g.medium Ec2Kernel: unavailable Ec2Ramdisk: unavailable Package: libc6-lse 2.31-0ubuntu9 PackageArchitecture: arm64 ProcCpuinfoMinimal:  processor : 0  BogoMIPS : 243.75  Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs  CPU implementer : 0x41  CPU architecture: 8  CPU variant : 0x3  CPU part : 0xd0c  CPU revision : 1 ProcEnviron:  LANG=C.UTF-8  TERM=screen-256color  PATH=(custom, no user)  SHELL=/bin/bash ProcVersionSignature: Ubuntu 5.4.0-1009.9-aws 5.4.30 SourcePackage: glibc Tags: focal ec2-images Uname: Linux 5.4.0-1009-aws aarch64 UpgradeStatus: No upgrade log present (probably fresh install) [Impact]  * update-initramfs -u fails on arm64 m6g instances in AWS [Test Case]  * launch m6g instance in AWS  * install libc6-lse (if not installed)  * run $ update-initramfs -u  * It should suceed * It should contain pthread, and libgcc_s libraries [Regression Potential]  * Adding one more path to libgcc_s1 resolution. This will still fail if something compiles libc6 for _two_ optimisations like /lib/$arch/foo/bar/libpthread. [Other Info]  * libphtread dlopens libgcc_s1, thus whenever libpthread is needed in the initrd libgcc_s1 must be copied in too. However the logic to find matching libgcc_s1 is broken for optimizied builds of libc6 without optimized build of libgcc_s1. I think libpthread should link against libgcc_s1 to prevent these issues.  * Original bug report With Ubuntu 20.04 on AWS m6g.* instance family, installing libc6-lse lets update-initramfs always fail with the following error: ubuntu@ip-10-18-23-79:~$ sudo update-initramfs -u update-initramfs: Generating /boot/initrd.img-5.4.0-1011-aws E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1. update-initramfs: failed for /boot/initrd.img-5.4.0-1011-aws with 1. ## Steps to reproduce (on AWS) ### With focal 20200423 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200423 2. Run: sudo apt update && sudo apt install libc6-lse 3. Try: sudo update-initramfs -u ### With focal 20200522 AMI 1. Find the following AMI and launch on m6g instance family    ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522 2. Try: sudo update-initramfs -u ## Note - The entire log of the above steps performed on 20200423 AMI is attached. - Latest cloud-image AMI "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-arm64-server-20200522" includes libc6-lse. On 20200522 AMI, this doesn't reproduce after removing libc6-lse manually. - This doesn't reproduce on EC2 a1.* instance family. ## Expected behavior Does not fail. ## Background to find this bug As the 20200522 AMI includes libc6-lse out-of-the-box & apt-get upgrade pulls newer package that triggers update-initramfs, apt-get upgrade always fail on 20200522 AMI. the following is an apport report on 20200423 AMI: ---- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27 Architecture: arm64 CasperMD5CheckResult: skip Date: Wed May 27 09:52:16 2020 Dependencies:  gcc-10-base 10-20200411-0ubuntu1  libc6 2.31-0ubuntu9  libcrypt1 1:4.4.10-10ubuntu4  libgcc-s1 10-20200411-0ubuntu1  libidn2-0 2.2.0-2  libunistring2 0.9.10-2 DistroRelease: Ubuntu 20.04 Ec2AMI: ami-061102f51d47b1c24 Ec2AMIManifest: (unknown) Ec2AvailabilityZone: ap-northeast-1c Ec2InstanceType: m6g.medium Ec2Kernel: unavailable Ec2Ramdisk: unavailable Package: libc6-lse 2.31-0ubuntu9 PackageArchitecture: arm64 ProcCpuinfoMinimal:  processor : 0  BogoMIPS : 243.75  Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs  CPU implementer : 0x41  CPU architecture: 8  CPU variant : 0x3  CPU part : 0xd0c  CPU revision : 1 ProcEnviron:  LANG=C.UTF-8  TERM=screen-256color  PATH=(custom, no user)  SHELL=/bin/bash ProcVersionSignature: Ubuntu 5.4.0-1009.9-aws 5.4.30 SourcePackage: glibc Tags: focal ec2-images Uname: Linux 5.4.0-1009-aws aarch64 UpgradeStatus: No upgrade log present (probably fresh install)
2020-09-02 14:57:23 Dimitri John Ledkov initramfs-tools (Ubuntu Bionic): status New In Progress
2020-09-04 13:47:28 Timo Aaltonen initramfs-tools (Ubuntu Bionic): status In Progress Fix Committed
2020-09-04 13:47:31 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2020-09-04 13:47:37 Timo Aaltonen tags arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af id-5ed6b0877aa3de39fa0b89e6 patch verification-done verification-done-focal arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af id-5ed6b0877aa3de39fa0b89e6 patch verification-done-focal verification-needed verification-needed-bionic
2020-09-09 22:13:17 Dimitri John Ledkov tags arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af id-5ed6b0877aa3de39fa0b89e6 patch verification-done-focal verification-needed verification-needed-bionic arm64 ec2-images focal id-5ecfd9948c28fe2dab5906af id-5ed6b0877aa3de39fa0b89e6 patch verification-done verification-done-bionic verification-done-focal
2020-09-15 15:51:16 Launchpad Janitor initramfs-tools (Ubuntu Bionic): status Fix Committed Fix Released
2020-10-09 19:30:06 Joshua Powers cloud-images: status New Fix Released