Public bug reported:

... 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.

** Affects: initramfs-tools (Ubuntu)
     Importance: Low
         Status: New

** Changed in: initramfs-tools (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to