[Bug 1883883] Re: Only libraries optimized for the running system end up in initramfs

Balint Reczey 1883883 at bugs.launchpad.net
Wed Jun 17 11:46:40 UTC 2020


Since the m6g-> a1 resizes are IMO not likely when also using btrfs I'm
marking this bug as low.

-- 
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/1883883

Title:
  Only libraries optimized for the running system end up in initramfs

Status in initramfs-tools package in Ubuntu:
  New

Bug description:
  ... that may prevent rebooting to systems without the same
  optimization.

  This can be observed by on EC2 m6g instances:

  $ sudo apt install libc6-lse
  $ sudo update-initramfs -k all -u
  $ unmkinitramfs /boot/initrd.img i
  $ ls i/
  bin  conf  cryptroot  etc  init  lib  run  sbin  scripts  usr  var
  $ cd i/
  $ find . -name *pthread*
  ./usr/lib/aarch64-linux-gnu/atomics/libpthread.so.0
  ./usr/lib/aarch64-linux-gnu/atomics/libpthread-2.31.so

  Luckily btrfs-progs does not play a role in rebooting, thus m6g
  instances can still be resized to a1 instance types, and I observed no
  failure when trying to do so.

  Follow-up for LP: #1880853.

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



More information about the foundations-bugs mailing list