[Bug 1883883] Re: Only libraries optimized for the running system end up in initramfs
Benjamin Drung
1883883 at bugs.launchpad.net
Fri Oct 4 11:18:46 UTC 2024
Thank you for taking the time to report this bug and helping to make
Ubuntu better. We appreciate that this bug may be old and you might not
be interested in discussing it anymore. But if you are then please
upgrade to the latest Ubuntu version and re-test. If you then find the
bug is still present in the newer Ubuntu version, please add a comment
here telling us which new version it is in.
** Changed in: initramfs-tools (Ubuntu)
Status: New => Incomplete
--
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:
Incomplete
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